diff --git a/aio/src/app/embedded/contributor/contributor.service.spec.ts b/aio/src/app/embedded/contributor/contributor.service.spec.ts index 0e16ecdc1f..12c5d1bc5a 100644 --- a/aio/src/app/embedded/contributor/contributor.service.spec.ts +++ b/aio/src/app/embedded/contributor/contributor.service.spec.ts @@ -4,7 +4,6 @@ import { MockBackend } from '@angular/http/testing'; import { ContributorService } from './contributor.service'; import { Contributor, ContributorGroup } from './contributors.model'; -import { Logger } from 'app/shared/logger.service'; describe('ContributorService', () => { @@ -21,8 +20,7 @@ describe('ContributorService', () => { ContributorService, { provide: ConnectionBackend, useClass: MockBackend }, { provide: RequestOptions, useClass: BaseRequestOptions }, - Http, - Logger + Http ]); backend = injector.get(ConnectionBackend); diff --git a/aio/src/app/embedded/contributor/contributor.service.ts b/aio/src/app/embedded/contributor/contributor.service.ts index 57ec336381..ecff52a934 100644 --- a/aio/src/app/embedded/contributor/contributor.service.ts +++ b/aio/src/app/embedded/contributor/contributor.service.ts @@ -5,7 +5,6 @@ import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/publishLast'; -import { Logger } from 'app/shared/logger.service'; import { Contributor, ContributorGroup } from './contributors.model'; import { CONTENT_URL_PREFIX } from 'app/documents/document.service'; @@ -16,7 +15,7 @@ const knownGroups = ['Angular', 'Community']; export class ContributorService { contributors: Observable; - constructor(private http: Http, private logger: Logger) { + constructor(private http: Http) { this.contributors = this.getContributors(); } diff --git a/aio/src/app/embedded/resource/resource.service.spec.ts b/aio/src/app/embedded/resource/resource.service.spec.ts index a26ed095db..273a8847da 100644 --- a/aio/src/app/embedded/resource/resource.service.spec.ts +++ b/aio/src/app/embedded/resource/resource.service.spec.ts @@ -4,7 +4,6 @@ import { MockBackend } from '@angular/http/testing'; import { ResourceService } from './resource.service'; import { Category, SubCategory, Resource } from './resource.model'; -import { Logger } from 'app/shared/logger.service'; describe('ResourceService', () => { @@ -21,8 +20,7 @@ describe('ResourceService', () => { ResourceService, { provide: ConnectionBackend, useClass: MockBackend }, { provide: RequestOptions, useClass: BaseRequestOptions }, - Http, - Logger + Http ]); backend = injector.get(ConnectionBackend); diff --git a/aio/src/app/embedded/resource/resource.service.ts b/aio/src/app/embedded/resource/resource.service.ts index b20a48a5b6..3ce85a1b55 100644 --- a/aio/src/app/embedded/resource/resource.service.ts +++ b/aio/src/app/embedded/resource/resource.service.ts @@ -5,7 +5,6 @@ import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/publishLast'; -import { Logger } from 'app/shared/logger.service'; import { Category, Resource, SubCategory } from './resource.model'; import { CONTENT_URL_PREFIX } from 'app/documents/document.service'; @@ -15,7 +14,7 @@ const resourcesPath = CONTENT_URL_PREFIX + 'resources.json'; export class ResourceService { categories: Observable; - constructor(private http: Http, private logger: Logger) { + constructor(private http: Http) { this.categories = this.getCategories(); } diff --git a/aio/src/app/navigation/navigation.service.spec.ts b/aio/src/app/navigation/navigation.service.spec.ts index 840ed6b155..09e1d2dcde 100644 --- a/aio/src/app/navigation/navigation.service.spec.ts +++ b/aio/src/app/navigation/navigation.service.spec.ts @@ -4,7 +4,6 @@ import { MockBackend } from '@angular/http/testing'; import { CurrentNodes, NavigationService, NavigationViews, NavigationNode, VersionInfo } from 'app/navigation/navigation.service'; import { LocationService } from 'app/shared/location.service'; import { MockLocationService } from 'testing/location.service'; -import { Logger } from 'app/shared/logger.service'; describe('NavigationService', () => { @@ -22,8 +21,7 @@ describe('NavigationService', () => { { provide: LocationService, useFactory: () => new MockLocationService('a') }, { provide: ConnectionBackend, useClass: MockBackend }, { provide: RequestOptions, useClass: BaseRequestOptions }, - Http, - Logger + Http ]); }); diff --git a/aio/src/app/navigation/navigation.service.ts b/aio/src/app/navigation/navigation.service.ts index 39783432bd..3c665f4ef2 100644 --- a/aio/src/app/navigation/navigation.service.ts +++ b/aio/src/app/navigation/navigation.service.ts @@ -8,7 +8,6 @@ import 'rxjs/add/operator/map'; import 'rxjs/add/operator/publishLast'; import 'rxjs/add/operator/publishReplay'; -import { Logger } from 'app/shared/logger.service'; import { LocationService } from 'app/shared/location.service'; import { CONTENT_URL_PREFIX } from 'app/documents/document.service'; @@ -37,7 +36,7 @@ export class NavigationService { */ currentNodes: Observable; - constructor(private http: Http, private location: LocationService, private logger: Logger) { + constructor(private http: Http, private location: LocationService) { const navigationInfo = this.fetchNavigationInfo(); this.navigationViews = this.getNavigationViews(navigationInfo);