summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_authz_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handlers/handler_authz_test.go')
-rw-r--r--internal/handlers/handler_authz_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handler_authz_test.go b/internal/handlers/handler_authz_test.go
index 368091977..559a5cb57 100644
--- a/internal/handlers/handler_authz_test.go
+++ b/internal/handlers/handler_authz_test.go
@@ -31,7 +31,7 @@ func (s *AuthzSuite) GetMock(config *schema.Configuration, targetURI *url.URL, s
mock := mocks.NewMockAutheliaCtx(s.T())
if session != nil {
- domain := mock.Ctx.GetTargetURICookieDomain(targetURI)
+ domain := mock.Ctx.GetCookieDomainFromTargetURI(targetURI)
provider, err := mock.Ctx.GetCookieDomainSessionProvider(domain)
s.Require().NoError(err)