From f204db3c938f2e1c5a6e61013bf2512b418cc504 Mon Sep 17 00:00:00 2001 From: Chee Hong Date: Sat, 27 Apr 2024 18:38:24 +0800 Subject: [PATCH] Fix e2e regression caused by changes in AuthService 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. --- src/app/core/services/mocks/mock.auth.service.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app/core/services/mocks/mock.auth.service.ts b/src/app/core/services/mocks/mock.auth.service.ts index b70e2b2d9..c86a970ba 100644 --- a/src/app/core/services/mocks/mock.auth.service.ts +++ b/src/app/core/services/mocks/mock.auth.service.ts @@ -98,4 +98,14 @@ export class MockAuthService { startOAuthProcess() { this.accessToken.next('FabricatedToken'); } + + navigateToLandingPage() { + this.router.navigateByUrl(this.phaseService.currentPhase); + } + + clearNext() {} + + getNext() {} + + storeNext(next: any) {} }