Saving data from form
Change-Id: If78c7b7a8396a574edbc2cab3fd4150010f103b6
diff --git a/src/app/datasources/stores/model.store.spec.ts b/src/app/datasources/stores/model.store.spec.ts
index dd19c27..5bdc498 100644
--- a/src/app/datasources/stores/model.store.spec.ts
+++ b/src/app/datasources/stores/model.store.spec.ts
@@ -8,6 +8,7 @@
import {ModelRest} from '../rest/model.rest';
import {AppConfig} from '../../config/app.config';
import {ConfigHelpers} from '../../core/services/helpers/config.helpers';
+import {AuthService} from '../rest/auth.rest';
let service: IModelStoreService;
let httpBackend: ng.IHttpBackendService;
@@ -37,12 +38,13 @@
beforeEach(() => {
angular
- .module('ModelStore', ['ngResource', 'toastr'])
+ .module('ModelStore', ['ngResource', 'toastr', 'ngCookies'])
.service('WebSocket', MockWs)
.service('StoreHelpers', StoreHelpers) // TODO mock
.service('ModelRest', ModelRest) // TODO mock
.service('ModelStore', ModelStore)
- .service('ConfigHelpers', ConfigHelpers); // TODO mock
+ .service('ConfigHelpers', ConfigHelpers) // TODO mock
+ .service('AuthService', AuthService);
angular.mock.module('ModelStore');
});