We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68d6d4e commit 23290a8Copy full SHA for 23290a8
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