Skip to content

Commit 8ddd60c

Browse files
committed
Update test TestTokenRefreshRequest
1 parent 2de5423 commit 8ddd60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ func TestTokenRefreshRequest(t *testing.T) {
426426
t.Errorf("Unexpected Content-Type header, %v is found.", headerContentType)
427427
}
428428
body, _ := ioutil.ReadAll(r.Body)
429-
if string(body) != "grant_type=refresh_token&refresh_token=REFRESH_TOKEN" {
429+
if string(body) != "grant_type=refresh_token&refresh_token=REFRESH_TOKEN&scope=scope1+scope2" {
430430
t.Errorf("Unexpected refresh token payload, %v is found.", string(body))
431431
}
432432
}))

0 commit comments

Comments
 (0)