File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdk/test/Services/DynamoDBv2/UnitTests/Custom Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ public void TransactWriteConfig()
210
210
public void TransactWriteConfig_OverridesTableName ( )
211
211
{
212
212
var mockClient = new Mock < IAmazonDynamoDB > ( ) ;
213
- mockClient . Setup ( x => x . TransactWriteItems ( It . Is < TransactWriteItemsRequest > ( x => x . TransactItems [ 0 ] . Update . TableName == "OperationPrefix-TableName" ) ) )
213
+ mockClient . Setup ( x => x . TransactWriteItems ( It . Is < TransactWriteItemsRequest > ( x => x . TransactItems [ 0 ] . Put . TableName == "OperationPrefix-TableName" ) ) )
214
214
. Returns ( new TransactWriteItemsResponse ( ) )
215
215
. Verifiable ( ) ;
216
216
@@ -235,7 +235,7 @@ public void TransactWriteConfig_OverridesTableName()
235
235
public void TransactWriteConfig_RemoveTablePrefix ( )
236
236
{
237
237
var mockClient = new Mock < IAmazonDynamoDB > ( ) ;
238
- mockClient . Setup ( x => x . TransactWriteItems ( It . Is < TransactWriteItemsRequest > ( x => x . TransactItems [ 0 ] . Update . TableName == "TableName" ) ) )
238
+ mockClient . Setup ( x => x . TransactWriteItems ( It . Is < TransactWriteItemsRequest > ( x => x . TransactItems [ 0 ] . Put . TableName == "TableName" ) ) )
239
239
. Returns ( new TransactWriteItemsResponse ( ) )
240
240
. Verifiable ( ) ;
241
241
You can’t perform that action at this time.
0 commit comments