Saving data from form
Change-Id: If78c7b7a8396a574edbc2cab3fd4150010f103b6
diff --git a/src/app/datasources/helpers/store.helpers.spec.ts b/src/app/datasources/helpers/store.helpers.spec.ts
index f0168b6..1793a7c 100644
--- a/src/app/datasources/helpers/store.helpers.spec.ts
+++ b/src/app/datasources/helpers/store.helpers.spec.ts
@@ -6,6 +6,7 @@
import {BehaviorSubject} from 'rxjs';
import {IWSEvent} from '../websocket/global';
import {ConfigHelpers} from '../../core/services/helpers/config.helpers';
+import {AuthService} from '../rest/auth.rest';
let service: IStoreHelpersService;
let subject: BehaviorSubject<any>;
@@ -16,10 +17,11 @@
beforeEach(() => {
angular
- .module('test', ['ngResource', 'toastr'])
+ .module('test', ['ngResource', 'toastr', 'ngCookies'])
.service('ConfigHelpers', ConfigHelpers) // NOTE evaluate mock
.service('ModelRest', ModelRest) // NOTE evaluate mock
- .service('StoreHelpers', StoreHelpers);
+ .service('StoreHelpers', StoreHelpers)
+ .service('AuthService', AuthService);
angular.mock.module('test');
});