diff --git a/src/app/core/auth/auth.effects.ts b/src/app/core/auth/auth.effects.ts index b57d67cbd6..37ef3b79bc 100644 --- a/src/app/core/auth/auth.effects.ts +++ b/src/app/core/auth/auth.effects.ts @@ -1,7 +1,7 @@ import { Injectable } from '@angular/core'; import { combineLatest as observableCombineLatest, Observable, of as observableOf } from 'rxjs'; -import { catchError, debounceTime, filter, map, switchMap, take, tap } from 'rxjs/operators'; +import { catchError, filter, map, switchMap, take, tap } from 'rxjs/operators'; // import @ngrx import { Actions, Effect, ofType } from '@ngrx/effects'; import { Action, select, Store } from '@ngrx/store'; diff --git a/src/app/core/data/eperson-registration.service.ts b/src/app/core/data/eperson-registration.service.ts index a1ca1dbef4..bc5df87288 100644 --- a/src/app/core/data/eperson-registration.service.ts +++ b/src/app/core/data/eperson-registration.service.ts @@ -86,7 +86,7 @@ export class EpersonRegistrationService { find((href: string) => hasValue(href)), map((href: string) => { const request = new GetRequest(requestId, href); - const parser = Object.assign(request, { + Object.assign(request, { getResponseParser(): GenericConstructor { return RegistrationResponseParsingService; } diff --git a/src/app/register-page/create-profile/create-profile.component.spec.ts b/src/app/register-page/create-profile/create-profile.component.spec.ts index 5fed324a22..5d509866a9 100644 --- a/src/app/register-page/create-profile/create-profile.component.spec.ts +++ b/src/app/register-page/create-profile/create-profile.component.spec.ts @@ -62,17 +62,6 @@ describe('CreateProfileComponent', () => { const eperson = Object.assign(new EPerson(), values); beforeEach(async(() => { - const mockConfig = { - languages: [{ - code: 'en', - label: 'English', - active: true, - }, { - code: 'de', - label: 'Deutsch', - active: false - }] - }; route = {data: observableOf({registration: registration})}; router = new RouterStub(); notificationsService = new NotificationsServiceStub();