mirror of https://github.com/BTCPrivate/copay.git
Test fixed
This commit is contained in:
parent
36822dce49
commit
198a39beff
|
@ -246,7 +246,6 @@ describe('Identity model', function() {
|
|||
args = createIdentity();
|
||||
args.params.noWallets = true;
|
||||
var old = Identity.prototype.createWallet;
|
||||
sinon.stub(Identity.prototype, 'store').yields(null);
|
||||
Identity.create(args.params, function(err, res) {
|
||||
iden = res;
|
||||
});
|
||||
|
@ -303,7 +302,6 @@ describe('Identity model', function() {
|
|||
args.storage.getItem.onFirstCall().callsArgWith(1, null, '{"wallet": "fakeData"}');
|
||||
var backup = Wallet.fromUntrustedObj;
|
||||
args.params.noWallets = true;
|
||||
sinon.stub(Identity.prototype, 'store').yields(null);
|
||||
sinon.stub().returns(args.wallet);
|
||||
|
||||
var opts = {
|
||||
|
@ -396,8 +394,6 @@ describe('Identity model', function() {
|
|||
beforeEach(function() {
|
||||
args = createIdentity();
|
||||
args.params.Async = net = sinon.stub();
|
||||
|
||||
sinon.stub(Identity.prototype, 'store').yields(null);
|
||||
net.cleanUp = sinon.spy();
|
||||
net.on = sinon.stub();
|
||||
net.start = sinon.spy();
|
||||
|
|
Loading…
Reference in New Issue