Skip to content

Commit d89c6dd

Browse files
committed
TestPasswordCredentialsTokenRequest_AuthCodeOption
Signed-off-by: Jmnote <[email protected]>
1 parent 05b84f6 commit d89c6dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

oauth2_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ func TestPasswordCredentialsTokenRequest_AuthCodeOption(t *testing.T) {
447447
wantAccessToken: "90d64460d14870c08c81352a05dedd3465940a7c",
448448
wantTokenType: "bearer",
449449
},
450-
"foo:bar": {
450+
"foo=bar": {
451451
username: "user1",
452452
password: "password1",
453453
authCodeOptions: []AuthCodeOption{SetAuthURLParam("foo", "bar")},
@@ -458,7 +458,7 @@ func TestPasswordCredentialsTokenRequest_AuthCodeOption(t *testing.T) {
458458
wantAccessToken: "90d64460d14870c08c81352a05dedd3465940a7c",
459459
wantTokenType: "bearer",
460460
},
461-
"zoo:baz": {
461+
"zoo=baz": {
462462
username: "user1",
463463
password: "password1",
464464
authCodeOptions: []AuthCodeOption{SetAuthURLParam("zoo", "baz")},
@@ -469,7 +469,7 @@ func TestPasswordCredentialsTokenRequest_AuthCodeOption(t *testing.T) {
469469
wantAccessToken: "90d64460d14870c08c81352a05dedd3465940a7c",
470470
wantTokenType: "bearer",
471471
},
472-
"foo:bar,zoo:baz": {
472+
"foo=bar&zoo=baz": {
473473
username: "user1",
474474
password: "password1",
475475
authCodeOptions: []AuthCodeOption{SetAuthURLParam("foo", "bar"), SetAuthURLParam("zoo", "baz")},

0 commit comments

Comments
 (0)