mirror of https://github.com/BTCPrivate/copay.git
add getName to sinon stub
This commit is contained in:
parent
ff810a51cc
commit
6111089e13
|
@ -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…
Reference in New Issue