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

Kuski: do not send extraTaxes if no value provided #2886

Closed
wants to merge 1 commit into from

Conversation

bpollack
Copy link
Contributor

The failing remote test is a refund, which fails with a note that
refunds for the test card aren't supported (I think; my Spanish isn't
great).

Unit: 8 tests, 45 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote: 9 tests, 27 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
88.8889% passed

Copy link
Contributor

@curiousepic curiousepic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

The failing remote test is a refund, which fails with a note that
refunds for the test card aren't supported (I think; my Spanish isn't
great).

Unit: 8 tests, 45 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote: 9 tests, 27 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
88.8889% passed
@bpollack
Copy link
Contributor Author

@curiousepic Could you take another look, if you don't mind? The first code didn't actually work as intended when I prodded; I added some extra regression tests and fixed the underlying issue.

@bpollack
Copy link
Contributor Author

@curiousepic Specifically https://github.com/activemerchant/active_merchant/pull/2886/files#diff-154e23ec35747841db7f46d7dd8f137aR108 was needed to patch things up, and you can see the regression tests diving in pretty hard there.

@curiousepic
Copy link
Contributor

curiousepic commented Jun 13, 2018

@bpollack I was actually wondering about that hash creation, but assumed the tests were sufficient 😕New ones look great 👍

@curiousepic
Copy link
Contributor

@bpollack Wait, is there a reason there's no remote tests for extra_taxes?

@bpollack
Copy link
Contributor Author

@curiousepic Yeah: I have absolutely no idea at all what reasonable values for that are.

@bpollack bpollack closed this in f0a3cf1 Jun 14, 2018
@bpollack bpollack deleted the enrg-7572-kushki-taxes branch June 14, 2018 00:43
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.

None yet

2 participants