diff --git a/alfa-client/apps/admin/src/app/app.component.spec.ts b/alfa-client/apps/admin/src/app/app.component.spec.ts index 81cfebc5eb66fe6e976bbdc977a004f3c0a7a8e2..95dadc3ebdb78f21a637c4bd64fee9f1c7e51fd6 100644 --- a/alfa-client/apps/admin/src/app/app.component.spec.ts +++ b/alfa-client/apps/admin/src/app/app.component.spec.ts @@ -132,7 +132,7 @@ describe('AppComponent', () => { expect(apiRootService.getApiRoot).toHaveBeenCalled(); }); - it('should call removeAuthenticationParams', () => { + it('should call forwardWithoutAuthenticationParams', () => { component.forwardWithoutAuthenticationParams = jest.fn(); component.doAfterLoggedIn(); @@ -205,15 +205,15 @@ describe('AppComponent', () => { }); describe('build version', () => { - it('should not be rendered if api root not loaded', () => { - notExistsAsHtmlElement(fixture, buildInfoSelector); + it('should not be rendered if api root not loaded', () => { + notExistsAsHtmlElement(fixture, buildInfoSelector); }); it('should show after apiRoot loaded', () => { - component.apiRootStateResource$ = of(createStateResource(createApiRootResource())); + component.apiRootStateResource$ = of(createStateResource(createApiRootResource())); fixture.detectChanges(); - existsAsHtmlElement(fixture, buildInfoSelector); + existsAsHtmlElement(fixture, buildInfoSelector); }); });