Skip to content

Commit

Permalink
drop! fix templates test
Browse files Browse the repository at this point in the history
  • Loading branch information
liouk committed Oct 11, 2024
1 parent f90d341 commit eabceb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/templates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestTemplatesConfig(t *testing.T) {

oauthConfigCopy.Spec.IdentityProviders = []configv1.IdentityProvider{
{
Name: "super duper production-ready htpasswd idp",
Name: "super-duper-production-ready-htpasswd-idp",
IdentityProviderConfig: configv1.IdentityProviderConfig{
Type: configv1.IdentityProviderTypeHTPasswd,
HTPasswd: &configv1.HTPasswdIdentityProvider{
Expand Down Expand Up @@ -109,7 +109,7 @@ func TestTemplatesConfig(t *testing.T) {

// modify URL to go to the IdP login
oauthURL.Path = "/oauth/token/display"
oauthURL.RawQuery = fmt.Sprintf("client_id=openshift-browser-client&idp=super+duper+production-ready+htpasswd+idp&redirect_uri=%s&response_type=code", url.QueryEscape(oauthURL.String()))
oauthURL.RawQuery = fmt.Sprintf("client_id=openshift-browser-client&idp=super-duper-production-ready-htpasswd-idp&redirect_uri=%s&response_type=code", url.QueryEscape(oauthURL.String()))
oauthURL.Path = "/oauth/authorize"
resp, err = httpClient.Get(oauthURL.String())
require.NoError(t, err)
Expand Down

0 comments on commit eabceb1

Please sign in to comment.