fix tests
This commit is contained in:
parent
6ce2667274
commit
8f8eae0f05
3 changed files with 19 additions and 12 deletions
|
|
@ -84,11 +84,11 @@ describe("Unit: Controllers", function() {
|
|||
w.broadcastTx = sinon.stub().yields(null);
|
||||
w.requiresMultipleSignatures = sinon.stub().returns(true);
|
||||
w.getTxProposals = sinon.stub().returns([1, 2, 3]);
|
||||
w.getPendingTxProposals = sinon.stub().returns({
|
||||
w.getPendingTxProposals = sinon.stub().returns(
|
||||
[{
|
||||
isPending: true
|
||||
}]
|
||||
});
|
||||
);
|
||||
w.getId = sinon.stub().returns(1234);
|
||||
w.on = sinon.stub().yields({
|
||||
'e': 'errmsg',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue