From d5927a76fc3980eb7a3c48c4cab4f605bcd86e30 Mon Sep 17 00:00:00 2001 From: Kristof De Langhe Date: Thu, 17 Sep 2020 10:49:24 +0200 Subject: [PATCH] 72699: Test fix --- .../methods/shibboleth/log-in-shibboleth.component.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.spec.ts b/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.spec.ts index 1c5698031d..23c279d148 100644 --- a/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.spec.ts +++ b/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.spec.ts @@ -107,7 +107,7 @@ describe('LogInShibbolethComponent', () => { component.redirectToShibboleth(); - expect(setHrefSpy).toHaveBeenCalledWith(shibbolethBaseUrl + currentUrl) + expect(setHrefSpy).toHaveBeenCalledWith(currentUrl) }); @@ -122,7 +122,7 @@ describe('LogInShibbolethComponent', () => { component.redirectToShibboleth(); - expect(setHrefSpy).toHaveBeenCalledWith(shibbolethBaseUrl + currentUrl) + expect(setHrefSpy).toHaveBeenCalledWith(currentUrl) });