mirror of https://github.com/BTCPrivate/copay.git
fixed tests
This commit is contained in:
parent
a825929456
commit
a9416ce1cd
|
@ -3,6 +3,10 @@ var FakeStorage = function(){
|
||||||
this.storage = {};
|
this.storage = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
FakeStorage.prototype._setPassphrase = function (password) {
|
||||||
|
this.storage.passphrase = password;
|
||||||
|
};
|
||||||
|
|
||||||
FakeStorage.prototype.setGlobal = function (id, payload) {
|
FakeStorage.prototype.setGlobal = function (id, payload) {
|
||||||
this.storage[id] = payload;
|
this.storage[id] = payload;
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,7 @@ describe('WalletFactory model', function() {
|
||||||
port: 80
|
port: 80
|
||||||
},
|
},
|
||||||
networkName: 'testnet',
|
networkName: 'testnet',
|
||||||
|
passphrase: 'test',
|
||||||
};
|
};
|
||||||
|
|
||||||
it('should create the factory', function() {
|
it('should create the factory', function() {
|
||||||
|
|
Loading…
Reference in New Issue