avoiding Identity#bindWallet from tests
This commit is contained in:
parent
e308fd6f92
commit
2840fd7813
1 changed files with 1 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ describe('Identity model', function() {
|
||||||
getName: sinon.stub().returns('wallet' + i),
|
getName: sinon.stub().returns('wallet' + i),
|
||||||
close: sinon.stub(),
|
close: sinon.stub(),
|
||||||
};
|
};
|
||||||
iden.bindWallet(w);
|
iden.wallets[w.getId()] = w;
|
||||||
});
|
});
|
||||||
|
|
||||||
iden.remove(null, function(err, res) {
|
iden.remove(null, function(err, res) {
|
||||||
|
|
@ -225,7 +225,6 @@ describe('Identity model', function() {
|
||||||
storage.removeItem.getCall(3).args[0].should.equal(iden.getId());
|
storage.removeItem.getCall(3).args[0].should.equal(iden.getId());
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue