Skip to content

CompletePurchaseResponseTest - fixed tests for expected exceptions #2

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

Merged
merged 1 commit into from
Dec 22, 2015

Conversation

SilverFire
Copy link
Contributor

Because the assetEquals method call is placed in the catch block, it will be never called is cases when no exception was thrown during the malformed response check.

This pull request fixes the bug.

@dercoder
Copy link
Owner

Travis CI build failed, Can you fix it please?

@SilverFire
Copy link
Contributor Author

Sorry, I failed to run tests on local, so pushed without checks.
Updated my last commit

@dercoder
Copy link
Owner

Thx

dercoder added a commit that referenced this pull request Dec 22, 2015
CompletePurchaseResponseTest - fixed tests for expected exceptions
@dercoder dercoder merged commit a5719e2 into dercoder:master Dec 22, 2015
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