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 a7846ab commit 384d115Copy full SHA for 384d115
oauth2_test.go
@@ -440,7 +440,7 @@ func TestTokenRefreshRequest(t *testing.T) {
440
t.Errorf("Unexpected Content-Type header %q", headerContentType)
441
}
442
body, _ := ioutil.ReadAll(r.Body)
443
- 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" {
444
t.Errorf("Unexpected refresh token payload %q", body)
445
446
w.Header().Set("Content-Type", "application/json")
0 commit comments