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.
This commit is contained in:
parent
a6e1f6e382
commit
54d7120626
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue