From d43e7943d39efb508067268f8093d06a11d75346 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Mon, 11 Aug 2014 18:00:19 -0400 Subject: [PATCH] move towards fixing karma tests --- test/mocks/FakeWallet.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/mocks/FakeWallet.js b/test/mocks/FakeWallet.js index 136dd95c5..afb587113 100644 --- a/test/mocks/FakeWallet.js +++ b/test/mocks/FakeWallet.js @@ -55,8 +55,14 @@ FakeWallet.prototype.isReady = function() { return true; }; -FakeWallet.prototype.fetchPaymentTx = function() { - +FakeWallet.prototype.fetchPaymentTx = function(opts, cb) { + cb(null, { + pr: { + pd: { + expires: 12 + } + } + }); };