fix tests
This commit is contained in:
parent
f15096b428
commit
a1eca63de4
4 changed files with 21 additions and 1 deletions
|
|
@ -42,6 +42,10 @@ mocks.$timeout = function(cb) {
|
|||
};
|
||||
|
||||
mocks.modal = function() {};
|
||||
mocks.ongoingProcess = {
|
||||
set: sinon.stub(),
|
||||
clear: sinon.stub(),
|
||||
};
|
||||
|
||||
|
||||
mocks.setProfile = function(profile) {};
|
||||
|
|
@ -192,6 +196,7 @@ mocks.init = function(fixtures, controllerName, opts, done) {
|
|||
ctrl = $controller(controllerName, {
|
||||
$scope: scope,
|
||||
$modal: mocks.modal,
|
||||
ongoingProcess: mocks.ongoingProcess,
|
||||
notification: mocks.notification,
|
||||
configService: _configService_,
|
||||
profileService: _profileService_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue