-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Simetrik: Fix integer and float types #4405
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am requesting a change relating to the scrubbing (see comment below).
The rest of the changes look good and make sense. I am currently getting all tests passing.
amount: { | ||
currency: 'USD', | ||
vat: 19 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
big improvement considering we don't want customers to have to pass a rich object for amount
👍
d6098d9
to
032d647
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work puzzling through this @rachelkirk. All tests are passing for me.
It would be nice if you update your PR description to indicate that the remote tests are currently passing on this branch.
Also don't forget a changelog entry.
Rubocop:
739 files inspected, no offenses detected
Unit:
5173 tests, 75674 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Remote:
12 tests, 63 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
CE-2407 This PR does some refactoring and updates some value types that were being passed incorrectly. The scrub method has also been updated. Remote Tests: 12 tests, 64 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed Unit Tests: 12 tests, 83 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed Local Tests: 5167 tests, 75646 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed RuboCop: 739 files inspected, no offenses detected
032d647
to
42a1553
Compare
CE-2407
This PR does some refactoring and updates some value types that were being passed incorrectly. The scrub method has also been updated.
Remote tests:
12 tests, 24 assertions, 0 failures, 8 errors, 0 pendings, 0 omissions, 0 notifications
33.3333% passed
Unit tests:
12 tests, 82 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed