You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what if the real request body has different order
{
"client_id": "12345",
"code": "mock_code",
"client_secret": "12345",
"grant_type": "authorization_code"
}
The text was updated successfully, but these errors were encountered:
sample:
gock.New("https://gitlab.com").
Post("/oauth/token").
Persist().
//JSON(map[string]interface{}{
// "client_id": "12345",
// "client_secret": "12345",
// "code": "mock_code",
// "grant_type": "authorization_code"
//}).
Reply(200).
SetHeader("Content-type", "application/json; charset=utf-8").
BodyString(accessTokenBody)
what if the real request body has different order
{
"client_id": "12345",
"code": "mock_code",
"client_secret": "12345",
"grant_type": "authorization_code"
}
The text was updated successfully, but these errors were encountered: