From 09b3ae8a97132c99647b7da09688d257e229419b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 8 Jun 2026 16:23:00 -0700 Subject: [PATCH] Fix lint --- tests/integration/oauth_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/oauth_test.go b/tests/integration/oauth_test.go index 1c350bb17f..a14151b069 100644 --- a/tests/integration/oauth_test.go +++ b/tests/integration/oauth_test.go @@ -14,6 +14,7 @@ import ( "net/http" "net/http/httptest" "net/url" + "strconv" "strings" "testing" @@ -770,7 +771,7 @@ func testOAuthIntrospectionCrossClientIsolation(t *testing.T) { assert.True(t, allowed.Active) assert.Equal(t, "openid profile", allowed.Scope) assert.Equal(t, resourceOwner.Name, allowed.Username) - assert.Equal(t, fmt.Sprint(resourceOwner.ID), allowed.Subject) + assert.Equal(t, strconv.FormatInt(resourceOwner.ID, 10), allowed.Subject) assert.Equal(t, []string{clientA.ClientID}, allowed.Audience) }