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 update expression tests #29

Merged
merged 1 commit into from
Nov 26, 2021
Merged

Fix update expression tests #29

merged 1 commit into from
Nov 26, 2021

Conversation

kuadrosx
Copy link
Member

Why:
The update texts verification was not working
propertly becuase it was comparing dynamodb
values and they are not comprable values.

What:

  • It converts the comparing objects to string
    with the Inspect method to compare the
    expected result with the actual result.
  • It sorts the keys in the Map#Inspect result
    to avoid random outputs.

Issue: #3

Why:
The update texts verification was not working
propertly becuase it was comparing dynamodb
values and they are not comprable values.

What:
- It converts the comparing objects to string
  with the Inspect method to compare the
  expected result with the actual result.
- It sorts the keys in the Map#Inspect result
  to avoid random outputs.

Issue: #3
@kuadrosx kuadrosx merged commit 97eb263 into main Nov 26, 2021
@kuadrosx kuadrosx deleted the fix-update-expression-tests branch December 29, 2021 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants