Skip to content

Commit

Permalink
Rename spec description
Browse files Browse the repository at this point in the history
  • Loading branch information
NereusWB922 committed Feb 7, 2024
1 parent fd3fb77 commit 6fec991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/app/auth/login/login.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('LoginComponent', () => {
expect(component).toBeTruthy();
});

it('should call startLoginProcess with false in startPublicOnlyLoginProcess', () => {
it('startPublicOnlyLoginProcess should call startLoginProcess with false', () => {
spyOn(component, 'startLoginProcess');

component.startPublicOnlyLoginProcess();
Expand All @@ -61,7 +61,7 @@ describe('LoginComponent', () => {
expect(loggingServiceSpy.info).toHaveBeenCalledWith('LoginComponent: Beginning login process');
});

it('should call authService.changeAuthState and errorHandlingService.handleError', () => {
it('should call error handling methods when error is thrown', () => {
const hasPrivateConsent = false;
const errorMessage = 'Error!';

Expand Down

0 comments on commit 6fec991

Please sign in to comment.