From 54d7120626fa792e8a91ed5efc7da0155e9cb6ad Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 Sep 2025 09:11:09 +0800 Subject: [PATCH] Fix formatting in OAuth authorization test for improved readability - Removed unnecessary blank line in TestUserOAuthAuthorizationURLParameters to enhance code clarity and maintain consistency in test formatting. --- openapi/tests/user/oauth_authorize_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/tests/user/oauth_authorize_test.go b/openapi/tests/user/oauth_authorize_test.go index 7f8403af..c56320da 100644 --- a/openapi/tests/user/oauth_authorize_test.go +++ b/openapi/tests/user/oauth_authorize_test.go @@ -230,7 +230,7 @@ func TestUserOAuthAuthorizationURLParameters(t *testing.T) { // Parse the authorization URL and check parameters parsedURL, err := url.Parse(authURLStr) assert.NoError(t, err, "Authorization URL should be valid") - + // Check if redirect_uri parameter matches redirectURI := parsedURL.Query().Get("redirect_uri") assert.Equal(t, tc.redirectURI, redirectURI, "Authorization URL should contain custom redirect_uri")