Skip to content

Commit

Permalink
Fix test checks
Browse files Browse the repository at this point in the history
Tool: gitpod/catfood.gitpod.cloud
  • Loading branch information
filiptronicek committed Feb 7, 2025
1 parent ba2538d commit 0bad6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/public-api-server/pkg/oidc/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ func TestRoute_callback(t *testing.T) {

url, err := resp.Location()
require.NoError(t, err)
require.Equal(t, "/relative/url/to/some/page?newUser=true", url.Path, "callback redirects properly")

require.Equal(t, "/relative/url/to/some/page", url.Path, "callback path is correct")
require.Equal(t, "newUser=true", url.RawQuery, "callback query parameters are correct")
}

func TestRoute_callback_verify_only(t *testing.T) {
Expand Down

0 comments on commit 0bad6df

Please sign in to comment.