mirror of https://github.com/BTCPrivate/copay.git
avoiding Identity#bindWallet from tests
This commit is contained in:
parent
e308fd6f92
commit
2840fd7813
|
@ -215,7 +215,7 @@ describe('Identity model', function() {
|
|||
getName: sinon.stub().returns('wallet' + i),
|
||||
close: sinon.stub(),
|
||||
};
|
||||
iden.bindWallet(w);
|
||||
iden.wallets[w.getId()] = w;
|
||||
});
|
||||
|
||||
iden.remove(null, function(err, res) {
|
||||
|
@ -225,7 +225,6 @@ describe('Identity model', function() {
|
|||
storage.removeItem.getCall(3).args[0].should.equal(iden.getId());
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue