@@ -32,7 +32,6 @@ public async Task Publish_event_when_property_status_is_pending_or_declined()
3232 . Build ( ) ;
3333
3434 var context = TestHelpers . NewLambdaContext ( ) ;
35-
3635 var dynamoDbContext = Substitute . For < IDynamoDBContext > ( ) ;
3736 var eventBindingClient = Substitute . For < IAmazonEventBridge > ( ) ;
3837
@@ -72,7 +71,7 @@ public async Task Publish_event_when_property_status_is_pending_or_declined()
7271 } ;
7372
7473 dynamoDbContext
75- . FromQueryAsync < PropertyRecord > ( Arg . Any < QueryOperationConfig > ( ) , Arg . Any < DynamoDBOperationConfig > ( ) )
74+ . FromQueryAsync < PropertyRecord > ( Arg . Any < Amazon . DynamoDBv2 . DocumentModel . QueryOperationConfig > ( ) )
7675 . Returns ( TestHelpers . NewDynamoDBSearchResult ( searchResult ) ) ;
7776
7877 eventBindingClient . PutEventsAsync ( Arg . Any < PutEventsRequest > ( ) , Arg . Any < CancellationToken > ( ) )
@@ -84,7 +83,7 @@ public async Task Publish_event_when_property_status_is_pending_or_declined()
8483
8584 // Assert
8685 dynamoDbContext . Received ( 1 )
87- . FromQueryAsync < PropertyRecord > ( Arg . Any < QueryOperationConfig > ( ) , Arg . Any < DynamoDBOperationConfig > ( ) ) ;
86+ . FromQueryAsync < PropertyRecord > ( Arg . Any < Amazon . DynamoDBv2 . DocumentModel . QueryOperationConfig > ( ) ) ;
8887
8988 await eventBindingClient . Received ( 1 )
9089 . PutEventsAsync (
@@ -136,11 +135,11 @@ public async Task Do_not_publish_event_when_property_status_is_approved()
136135 // Assert
137136
138137 dynamoDbContext
139- . FromQueryAsync < PropertyRecord > ( Arg . Any < QueryOperationConfig > ( ) , Arg . Any < DynamoDBOperationConfig > ( ) )
138+ . FromQueryAsync < PropertyRecord > ( Arg . Any < Amazon . DynamoDBv2 . DocumentModel . QueryOperationConfig > ( ) )
140139 . Returns ( TestHelpers . NewDynamoDBSearchResult ( searchResult ) ) ;
141140
142141 dynamoDbContext . Received ( 1 )
143- . FromQueryAsync < PropertyRecord > ( Arg . Any < QueryOperationConfig > ( ) , Arg . Any < DynamoDBOperationConfig > ( ) ) ;
142+ . FromQueryAsync < PropertyRecord > ( Arg . Any < Amazon . DynamoDBv2 . DocumentModel . QueryOperationConfig > ( ) ) ;
144143
145144 eventBindingClient . PutEventsAsync ( Arg . Any < PutEventsRequest > ( ) , Arg . Any < CancellationToken > ( ) )
146145 . Returns ( new PutEventsResponse { FailedEntryCount = 0 } ) ;
0 commit comments