Skip to content

Commit

Permalink
Fix e2e regression caused by changes in AuthService
Browse files Browse the repository at this point in the history
Previously, a PR introduced new method signatures in AuthService.
However, these were not introduced in MockAuthService, causing 
the testing environment to fail when the application encountered these
undefined method signatures.

Lets address this regression by adding the method signatures for these
methods.
  • Loading branch information
cheehongw authored Apr 27, 2024
1 parent 5a91541 commit f204db3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/core/services/mocks/mock.auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,14 @@ export class MockAuthService {
startOAuthProcess() {
this.accessToken.next('FabricatedToken');
}

navigateToLandingPage() {
this.router.navigateByUrl(this.phaseService.currentPhase);
}

clearNext() {}

getNext() {}

storeNext(next: any) {}
}

0 comments on commit f204db3

Please sign in to comment.