Skip to content

Commit

Permalink
chore: Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNti committed Nov 14, 2024
1 parent 4594fc7 commit e0eefc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oauthapplication/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestOAuthApplicationClientCreate(t *testing.T) {
require.Equal(t, callbackURL, oauthApp.CallbackURL)
require.Equal(t, scopes, oauthApp.Scopes)
require.Equal(t, public, oauthApp.Public)
require.Equal(t, clientSecret, oauthApp.ClientSecret)
require.Equal(t, clientSecret, *oauthApp.ClientSecret)
}

func TestOrganizationClientCreate_Error(t *testing.T) {
Expand Down Expand Up @@ -222,5 +222,5 @@ func TestOAuthApplicationClientRotateClientSecret(t *testing.T) {
updatedApp, err := client.RotateClientSecret(context.Background(), id)
require.NoError(t, err)
require.Equal(t, id, updatedApp.ID)
require.Equal(t, newSecret, updatedApp.ClientSecret)
require.Equal(t, newSecret, *updatedApp.ClientSecret)
}

0 comments on commit e0eefc4

Please sign in to comment.