fix tests
This commit is contained in:
parent
4262e6b274
commit
e8c9da46b6
4 changed files with 8 additions and 5 deletions
|
|
@ -29,7 +29,11 @@ module.exports = {
|
|||
completeTransaction: function(tx, txHash) {
|
||||
calls.status = true;
|
||||
},
|
||||
recordBill: function(fingerprint, trade) { }
|
||||
recordBill: function(fingerprint, trade) { },
|
||||
addOutgoingTx: function(session, tx, cb) {
|
||||
cb(null, {satoshis: tx.satoshis});
|
||||
},
|
||||
sentCoins: function() {}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@ module.exports = {
|
|||
|
||||
config: function config() {},
|
||||
getAddressLastTx: function verifyUser() {},
|
||||
getTx: function verifyTransaction() {}
|
||||
getTx: function verifyTransaction() {},
|
||||
checkAddress: function checkAddress() {}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -42,5 +42,3 @@ module.exports.getBalanceCalls = function() {
|
|||
module.exports.wasSendCalled = function() {
|
||||
return calls.send;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ describe('Plugins', function() {
|
|||
/* jshint expr: true */
|
||||
response.should.be.an.Object;
|
||||
response.should.have.property('statusCode');
|
||||
response.statusCode.should.equal(204);
|
||||
response.statusCode.should.equal(201);
|
||||
/* jshint expr: false */
|
||||
|
||||
done();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue