quick fix to remove assertions from the library. These should be handled application side.

This commit is contained in:
Almir Kadric
2015-01-29 13:42:32 +09:00
parent aa68511bd6
commit c84bdf2406
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.idea
node_modules node_modules

View File

@@ -59,8 +59,6 @@ exports.verifyPayment = function (payment, cb) {
var responseObject; var responseObject;
try { try {
responseObject = JSON.parse(responseString); responseObject = JSON.parse(responseString);
assert.equal(responseObject.purchaseState, 0, 'purchaseCancelled');
assert.equal(responseObject.consumptionState, 1, 'notConsumed');
} catch (e) { } catch (e) {
return cb(e); return cb(e);
} }