Skip to content

Commit 50e8fd5

Browse files
committed
update test field values
Signed-off-by: Haywood Shannon <[email protected]> Signed-off-by: Haywood Shannon <[email protected]>
1 parent 2e30079 commit 50e8fd5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

internal/configs/virtualserver_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6865,7 +6865,7 @@ func TestGeneratePolicies(t *testing.T) {
68656865
ZoneSyncLeeway: createPointerFromInt(20),
68666866
AccessTokenEnable: true,
68676867
EndSessionEndpoint: "http://example.com/logout",
6868-
PostLogoutRedirectURI: "http://example.com/",
6868+
PostLogoutRedirectURI: "/_logout",
68696869
},
68706870
},
68716871
},
@@ -8165,7 +8165,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
81658165
TokenEndpoint: "http://foo.com/bar",
81668166
JWKSURI: "http://foo.com/bar",
81678167
EndSessionEndpoint: "http://foo.com/bar",
8168-
PostLogoutRedirectURI: "http://foo.com/bar",
8168+
PostLogoutRedirectURI: "/_logout",
81698169
AccessTokenEnable: true,
81708170
},
81718171
},
@@ -8215,7 +8215,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
82158215
TokenEndpoint: "https://foo.com/token",
82168216
JWKSURI: "https://foo.com/certs",
82178217
EndSessionEndpoint: "https://foo.com/logout",
8218-
PostLogoutRedirectURI: "https://foo.com/",
8218+
PostLogoutRedirectURI: "/_logout",
82198219
AccessTokenEnable: true,
82208220
},
82218221
},
@@ -8233,7 +8233,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
82338233
TokenEndpoint: "https://bar.com/token",
82348234
JWKSURI: "https://bar.com/certs",
82358235
EndSessionEndpoint: "https://bar.com/logout",
8236-
PostLogoutRedirectURI: "https://bar.com/",
8236+
PostLogoutRedirectURI: "/_logout",
82378237
AccessTokenEnable: true,
82388238
},
82398239
},
@@ -8263,7 +8263,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
82638263
Scope: "openid",
82648264
ZoneSyncLeeway: 0,
82658265
EndSessionEndpoint: "https://foo.com/logout",
8266-
PostLogoutRedirectURI: "https://foo.com/",
8266+
PostLogoutRedirectURI: "/_logout",
82678267
AccessTokenEnable: true,
82688268
},
82698269
key: "default/oidc-policy-1",
@@ -8288,7 +8288,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
82888288
RedirectURI: "/_codexch",
82898289
Scope: "openid",
82908290
EndSessionEndpoint: "https://foo.com/logout",
8291-
PostLogoutRedirectURI: "https://foo.com/",
8291+
PostLogoutRedirectURI: "/_logout",
82928292
AccessTokenEnable: true,
82938293
},
82948294
key: "default/oidc-policy-1",
@@ -8319,7 +8319,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
83198319
TokenEndpoint: "https://foo.com/token",
83208320
JWKSURI: "https://foo.com/certs",
83218321
EndSessionEndpoint: "https://foo.com/logout",
8322-
PostLogoutRedirectURI: "https://foo.com/",
8322+
PostLogoutRedirectURI: "/_logout",
83238323
ClientID: "foo",
83248324
AccessTokenEnable: true,
83258325
},
@@ -8337,7 +8337,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
83378337
TokenEndpoint: "https://bar.com/token",
83388338
JWKSURI: "https://bar.com/certs",
83398339
EndSessionEndpoint: "https://bar.com/logout",
8340-
PostLogoutRedirectURI: "https://bar.com/",
8340+
PostLogoutRedirectURI: "/_logout",
83418341
ClientID: "bar",
83428342
AccessTokenEnable: true,
83438343
},
@@ -8375,7 +8375,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
83758375
RedirectURI: "/_codexch",
83768376
Scope: "openid",
83778377
EndSessionEndpoint: "https://foo.com/logout",
8378-
PostLogoutRedirectURI: "https://foo.com/",
8378+
PostLogoutRedirectURI: "/_logout",
83798379
ZoneSyncLeeway: 200,
83808380
AccessTokenEnable: true,
83818381
},

0 commit comments

Comments
 (0)