We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de5423 commit 8ddd60cCopy full SHA for 8ddd60c
oauth2_test.go
@@ -426,7 +426,7 @@ func TestTokenRefreshRequest(t *testing.T) {
426
t.Errorf("Unexpected Content-Type header, %v is found.", headerContentType)
427
}
428
body, _ := ioutil.ReadAll(r.Body)
429
- if string(body) != "grant_type=refresh_token&refresh_token=REFRESH_TOKEN" {
+ if string(body) != "grant_type=refresh_token&refresh_token=REFRESH_TOKEN&scope=scope1+scope2" {
430
t.Errorf("Unexpected refresh token payload, %v is found.", string(body))
431
432
}))
0 commit comments