diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index d0f2ed612..3dc682211 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -93,6 +93,7 @@ describe("Unit: Controllers", function() { iden.getLastFocusedWallet = sinon.stub().returns(null); iden.listWallets = sinon.stub().returns([w]); iden.getWalletById = sinon.stub().returns(w); + iden.getName = sinon.stub().returns('name'); $rootScope.wallet = w; $rootScope.iden = iden;