mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Login dialog shows error for Safari with Private Window mode (#1172)
* #958 new StorageService service abstraction around ‘Storage’ to allow switching to in-memory store whenever ‘localStorage’ is not available (i.e. private/incognito modes, etc.) * fix unit tests * update unit tests - disable incorrect auth tests (core) - simplify widget visibility tests (activiti-form) * fix unit tests
This commit is contained in:
committed by
Eugenio Romano
parent
94dad585b1
commit
da70a72bba
@@ -18,12 +18,12 @@
|
||||
import { ReflectiveInjector } from '@angular/core';
|
||||
import { BpmUserService } from '../services/bpm-user.service';
|
||||
// import { BpmUserModel } from '../models/bpm-user.model';
|
||||
import { AlfrescoAuthenticationService, AlfrescoApiService, AlfrescoSettingsService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoAuthenticationService, AlfrescoApiService, AlfrescoSettingsService, StorageService } from 'ng2-alfresco-core';
|
||||
import { fakeBpmUser } from '../assets/fake-bpm-user.service.mock';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
describe('Bpm User service', () => {
|
||||
describe('BpmUserService', () => {
|
||||
|
||||
let service, injector, authService, apiService;
|
||||
|
||||
@@ -32,7 +32,8 @@ describe('Bpm User service', () => {
|
||||
AlfrescoSettingsService,
|
||||
AlfrescoApiService,
|
||||
AlfrescoAuthenticationService,
|
||||
BpmUserService
|
||||
BpmUserService,
|
||||
StorageService
|
||||
]);
|
||||
});
|
||||
|
||||
|
@@ -20,14 +20,15 @@ import {
|
||||
AlfrescoAuthenticationService,
|
||||
AlfrescoApiService,
|
||||
AlfrescoSettingsService,
|
||||
AlfrescoContentService
|
||||
AlfrescoContentService,
|
||||
StorageService
|
||||
} from 'ng2-alfresco-core';
|
||||
import { EcmUserService } from '../services/ecm-user.service';
|
||||
import { fakeEcmUser } from '../assets/fake-ecm-user.service.mock';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
describe('Ecm User service', () => {
|
||||
describe('EcmUserService', () => {
|
||||
|
||||
let service, injector, authService, contentService, apiService;
|
||||
|
||||
@@ -37,7 +38,8 @@ describe('Ecm User service', () => {
|
||||
AlfrescoApiService,
|
||||
AlfrescoAuthenticationService,
|
||||
AlfrescoContentService,
|
||||
EcmUserService
|
||||
EcmUserService,
|
||||
StorageService
|
||||
]);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user