From 8f34d216425d57350356e67721e18dd6d9742cdb Mon Sep 17 00:00:00 2001 From: Caleb Doxsey Date: Tue, 7 Mar 2023 14:51:10 -0700 Subject: [PATCH] fix test --- internal/controlplane/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controlplane/server_test.go b/internal/controlplane/server_test.go index c38a17f2a..e18308b04 100644 --- a/internal/controlplane/server_test.go +++ b/internal/controlplane/server_test.go @@ -52,8 +52,8 @@ func TestServerHTTP(t *testing.T) { expect := map[string]any{ "authentication_callback_endpoint": "https://authenticate.localhost.pomerium.io/oauth2/callback", - "frontchannel_logout_uri": "https://authenticate.localhost.pomerium.io/.pomerium/sign_out", - "jwks_uri": "https://authenticate.localhost.pomerium.io/.well-known/pomerium/jwks.json", + "frontchannel_logout_uri": fmt.Sprintf("https://localhost:%s/.pomerium/sign_out", src.GetConfig().HTTPPort), + "jwks_uri": fmt.Sprintf("https://localhost:%s/.well-known/pomerium/jwks.json", src.GetConfig().HTTPPort), } assert.Equal(t, expect, actual) })