diff options
Diffstat (limited to 'api/oauth_test.go')
-rw-r--r-- | api/oauth_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/oauth_test.go b/api/oauth_test.go index 7231c777d..18938b902 100644 --- a/api/oauth_test.go +++ b/api/oauth_test.go @@ -491,7 +491,7 @@ func TestOAuthAuthorize(t *testing.T) { } authToken := Client.AuthType + " " + Client.AuthToken - if r, err := HttpGet(Client.Url+"/oauth/authorize?client_id="+oauthApp.Id+"&&redirect_uri=http://example.com&response_type="+model.AUTHCODE_RESPONSE_TYPE, Client.HttpClient, authToken, true); err != nil { + if r, err := HttpGet(Client.Url+"/oauth/authorize?client_id="+oauthApp.Id+"&redirect_uri=http://example.com&response_type="+model.AUTHCODE_RESPONSE_TYPE, Client.HttpClient, authToken, true); err != nil { t.Fatal(err) closeBody(r) } |