Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix integration tests #133

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/lib/dynamo/integration_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ defmodule ExAws.DynamoIntegrationTest do
name

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

assert {:error, {"TransactionCanceledException", _}} =
assert {:error, {"TransactionCanceledException", _, _}} =
Dynamo.transact_write_items(
put: {"TestTransactions", user2},
condition_check:
Expand Down
Loading