mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
rename two times service class just once
move responsability providers configurration in setting service refactoring
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
beforeEach,
|
||||
beforeEachProviders
|
||||
} from '@angular/core/testing';
|
||||
import { AlfrescoAuthenticationService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoAuthenticationService, AlfrescoSettingsService } from 'ng2-alfresco-core';
|
||||
import { TestComponentBuilder } from '@angular/compiler/testing';
|
||||
import { AlfrescoTranslationService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoLoginComponent } from './alfresco-login.component';
|
||||
@@ -38,6 +38,7 @@ describe('AlfrescoLogin', () => {
|
||||
beforeEachProviders(() => {
|
||||
return [
|
||||
{ provide: AlfrescoAuthenticationService, useClass: AuthenticationMock },
|
||||
{ provide: AlfrescoSettingsService, useClass: AlfrescoSettingsService },
|
||||
{ provide: AlfrescoTranslationService, useClass: TranslationMock }
|
||||
];
|
||||
});
|
||||
|
Reference in New Issue
Block a user