Skip to content

Commit

Permalink
update test field values
Browse files Browse the repository at this point in the history
Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com>

Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com>
  • Loading branch information
haywoodsh committed Aug 6, 2024
1 parent 2e30079 commit 50e8fd5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions internal/configs/virtualserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6865,7 +6865,7 @@ func TestGeneratePolicies(t *testing.T) {
ZoneSyncLeeway: createPointerFromInt(20),
AccessTokenEnable: true,
EndSessionEndpoint: "http://example.com/logout",
PostLogoutRedirectURI: "http://example.com/",
PostLogoutRedirectURI: "/_logout",
},
},
},
Expand Down Expand Up @@ -8165,7 +8165,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
TokenEndpoint: "http://foo.com/bar",
JWKSURI: "http://foo.com/bar",
EndSessionEndpoint: "http://foo.com/bar",
PostLogoutRedirectURI: "http://foo.com/bar",
PostLogoutRedirectURI: "/_logout",
AccessTokenEnable: true,
},
},
Expand Down Expand Up @@ -8215,7 +8215,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
TokenEndpoint: "https://foo.com/token",
JWKSURI: "https://foo.com/certs",
EndSessionEndpoint: "https://foo.com/logout",
PostLogoutRedirectURI: "https://foo.com/",
PostLogoutRedirectURI: "/_logout",
AccessTokenEnable: true,
},
},
Expand All @@ -8233,7 +8233,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
TokenEndpoint: "https://bar.com/token",
JWKSURI: "https://bar.com/certs",
EndSessionEndpoint: "https://bar.com/logout",
PostLogoutRedirectURI: "https://bar.com/",
PostLogoutRedirectURI: "/_logout",
AccessTokenEnable: true,
},
},
Expand Down Expand Up @@ -8263,7 +8263,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
Scope: "openid",
ZoneSyncLeeway: 0,
EndSessionEndpoint: "https://foo.com/logout",
PostLogoutRedirectURI: "https://foo.com/",
PostLogoutRedirectURI: "/_logout",
AccessTokenEnable: true,
},
key: "default/oidc-policy-1",
Expand All @@ -8288,7 +8288,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
RedirectURI: "/_codexch",
Scope: "openid",
EndSessionEndpoint: "https://foo.com/logout",
PostLogoutRedirectURI: "https://foo.com/",
PostLogoutRedirectURI: "/_logout",
AccessTokenEnable: true,
},
key: "default/oidc-policy-1",
Expand Down Expand Up @@ -8319,7 +8319,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
TokenEndpoint: "https://foo.com/token",
JWKSURI: "https://foo.com/certs",
EndSessionEndpoint: "https://foo.com/logout",
PostLogoutRedirectURI: "https://foo.com/",
PostLogoutRedirectURI: "/_logout",
ClientID: "foo",
AccessTokenEnable: true,
},
Expand All @@ -8337,7 +8337,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
TokenEndpoint: "https://bar.com/token",
JWKSURI: "https://bar.com/certs",
EndSessionEndpoint: "https://bar.com/logout",
PostLogoutRedirectURI: "https://bar.com/",
PostLogoutRedirectURI: "/_logout",
ClientID: "bar",
AccessTokenEnable: true,
},
Expand Down Expand Up @@ -8375,7 +8375,7 @@ func TestGeneratePoliciesFails(t *testing.T) {
RedirectURI: "/_codexch",
Scope: "openid",
EndSessionEndpoint: "https://foo.com/logout",
PostLogoutRedirectURI: "https://foo.com/",
PostLogoutRedirectURI: "/_logout",
ZoneSyncLeeway: 200,
AccessTokenEnable: true,
},
Expand Down

0 comments on commit 50e8fd5

Please sign in to comment.