From e0eefc4ab993ab3a78528b2355b466d0773c3110 Mon Sep 17 00:00:00 2001 From: Alexandros Ntitoras Date: Thu, 14 Nov 2024 13:42:22 +0200 Subject: [PATCH] chore: Fix failing test --- oauthapplication/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauthapplication/client_test.go b/oauthapplication/client_test.go index 0058053..a3b576c 100644 --- a/oauthapplication/client_test.go +++ b/oauthapplication/client_test.go @@ -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) { @@ -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) }