fix: use a unique code that is not used in other tests
This commit is contained in:
parent
3240f70010
commit
39e6631998
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func TestServerRoutes(t *testing.T) {
|
||||||
"client_id": client.GetID(),
|
"client_id": client.GetID(),
|
||||||
"client_secret": "secret",
|
"client_secret": "secret",
|
||||||
"redirect_uri": "https://example.com",
|
"redirect_uri": "https://example.com",
|
||||||
"code": "123",
|
"code": "abc",
|
||||||
},
|
},
|
||||||
wantCode: http.StatusBadRequest,
|
wantCode: http.StatusBadRequest,
|
||||||
json: `{"error":"invalid_grant", "error_description":"invalid code"}`,
|
json: `{"error":"invalid_grant", "error_description":"invalid code"}`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue