Skip to content

Commit 23290a8

Browse files
committed
Update test TestTokenRefreshRequest
1 parent 68d6d4e commit 23290a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ func TestTokenRefreshRequest(t *testing.T) {
440440
t.Errorf("Unexpected Content-Type header %q", headerContentType)
441441
}
442442
body, _ := ioutil.ReadAll(r.Body)
443-
if string(body) != "grant_type=refresh_token&refresh_token=REFRESH_TOKEN" {
443+
if string(body) != "grant_type=refresh_token&refresh_token=REFRESH_TOKEN&scope=scope1+scope2" {
444444
t.Errorf("Unexpected refresh token payload %q", body)
445445
}
446446
w.Header().Set("Content-Type", "application/json")

0 commit comments

Comments
 (0)