diff --git a/test/mocks/FakeStorage.js b/test/mocks/FakeStorage.js index 4e12e25fb..77fe38213 100644 --- a/test/mocks/FakeStorage.js +++ b/test/mocks/FakeStorage.js @@ -3,6 +3,10 @@ var FakeStorage = function(){ this.storage = {}; }; +FakeStorage.prototype._setPassphrase = function (password) { + this.storage.passphrase = password; +}; + FakeStorage.prototype.setGlobal = function (id, payload) { this.storage[id] = payload; }; diff --git a/test/test.Walletfactory.js b/test/test.Walletfactory.js index 4aa5398dd..a3feeba50 100644 --- a/test/test.Walletfactory.js +++ b/test/test.Walletfactory.js @@ -32,6 +32,7 @@ describe('WalletFactory model', function() { port: 80 }, networkName: 'testnet', + passphrase: 'test', }; it('should create the factory', function() {