dercoder / omnipay-webmoney

WebMoney driver for the Omnipay PHP payment processing library
MIT License
12 stars 8 forks source link

CompletePurchaseResponseTest - fixed tests for expected exceptions #2

Closed SilverFire closed 8 years ago

SilverFire commented 8 years ago

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 commented 8 years ago

Travis CI build failed, Can you fix it please?

SilverFire commented 8 years ago

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

dercoder commented 8 years ago

Thx