add getName to sinon stub
This commit is contained in:
parent
ff810a51cc
commit
6111089e13
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue