Skip to content

Commit 9c01447

Browse files
authored
Merge pull request #133 from chriskdon/fix-integration-tests
Fix integration tests
2 parents 64d85a6 + 32c2257 commit 9c01447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lib/dynamo/integration_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ defmodule ExAws.DynamoIntegrationTest do
168168
name
169169

170170
# When the condition failure return value is all_old, the old item is returned
171-
assert {:error, {"ConditionalCheckFailedException", "The conditional request failed", 123 = user_item}} =
171+
assert {:error, {"ConditionalCheckFailedException", "The conditional request failed", user_item}} =
172172
operation.(
173173
condition_expression: "email = :email",
174174
expression_attribute_values: [email: "does-not-exist"],
@@ -202,7 +202,7 @@ defmodule ExAws.DynamoIntegrationTest do
202202
admin: true
203203
}
204204

205-
assert {:error, {"TransactionCanceledException", _}} =
205+
assert {:error, {"TransactionCanceledException", _, _}} =
206206
Dynamo.transact_write_items(
207207
put: {"TestTransactions", user2},
208208
condition_check:

0 commit comments

Comments
 (0)