From cc701d648df8f5613c3efa54bd06c0a9ceabd6cd Mon Sep 17 00:00:00 2001 From: Matias Pando Date: Wed, 31 Dec 2014 10:35:33 -0300 Subject: [PATCH] Rebased --- test/Identity.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Identity.js b/test/Identity.js index 995e28ac5..a2a7c066e 100644 --- a/test/Identity.js +++ b/test/Identity.js @@ -406,7 +406,7 @@ describe('Identity model', function() { walletClass: walletClass, }, function(err, w1) { should.exist(w1); - + args.storage.getItem = sinon.stub().yields(null, JSON.stringify(iden)); iden.createWallet({ walletClass: walletClass, @@ -801,6 +801,7 @@ describe('Identity model', function() { storage.setCredentials = sinon.stub(); storage.removeItem = sinon.stub().yields(null); storage.clear = sinon.stub().yields(); + storage.getItem = sinon.stub(); var opts = { email: 'test@test.com',