mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove unused dependencies
This commit is contained in:
@@ -19,8 +19,6 @@ import {it, describe} from '@angular/core/testing';
|
||||
import {ReflectiveInjector, provide} from '@angular/core';
|
||||
import {AlfrescoSettingsService} from './AlfrescoSettings.service';
|
||||
import {AlfrescoAuthenticationService} from './AlfrescoAuthentication.service';
|
||||
import {XHRBackend, HTTP_PROVIDERS} from '@angular/http';
|
||||
import {MockBackend} from '@angular/http/testing';
|
||||
|
||||
declare var AlfrescoApi: any;
|
||||
|
||||
@@ -60,8 +58,6 @@ describe('AlfrescoAuthentication', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
injector = ReflectiveInjector.resolveAndCreate([
|
||||
HTTP_PROVIDERS,
|
||||
provide(XHRBackend, {useClass: MockBackend}),
|
||||
provide(AlfrescoSettingsService, {useClass: AlfrescoSettingsService}),
|
||||
AlfrescoAuthenticationService
|
||||
]);
|
||||
|
@@ -20,7 +20,6 @@ import {ReflectiveInjector} from '@angular/core';
|
||||
import {AlfrescoSettingsService} from './AlfrescoSettings.service';
|
||||
import {AlfrescoAuthenticationService} from './AlfrescoAuthentication.service';
|
||||
import {AlfrescoContentService} from './AlfrescoContent.service';
|
||||
import {HTTP_PROVIDERS} from '@angular/http';
|
||||
|
||||
describe('AlfrescoContentService', () => {
|
||||
|
||||
@@ -30,7 +29,6 @@ describe('AlfrescoContentService', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
injector = ReflectiveInjector.resolveAndCreate([
|
||||
HTTP_PROVIDERS,
|
||||
AlfrescoContentService,
|
||||
AlfrescoAuthenticationService,
|
||||
AlfrescoSettingsService
|
||||
|
Reference in New Issue
Block a user