fixed test seed data
This commit is contained in:
parent
bd0ddf5c8c
commit
ec2c45ac2e
3 changed files with 4 additions and 2 deletions
|
|
@ -77,9 +77,10 @@ describe('Identity model', function() {
|
|||
return params;
|
||||
}
|
||||
|
||||
var wid = 0;
|
||||
function getNewWallet(args) {
|
||||
var w = sinon.stub();
|
||||
w.getId = sinon.stub().returns('wid');
|
||||
w.getId = sinon.stub().returns('wid' + (++wid));
|
||||
w.getStorageKey = sinon.stub().returns('wkey');
|
||||
w.toObj = sinon.stub().returns({
|
||||
obj: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue