1
0
Fork 0
forked from forgejo/forgejo

Update docs and comments to remove macaron (#14491)

This commit is contained in:
Lunny Xiao 2021-01-29 23:35:30 +08:00 committed by GitHub
parent 25b6255b92
commit 0cd87d64ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 32 additions and 78 deletions

View file

@ -235,7 +235,7 @@ func TestRefreshTokenInvalidation(t *testing.T) {
"redirect_uri": "a",
"refresh_token": parsed.RefreshToken,
})
// tip: Why this changed, because macaron will set req.Body back when consume the req but chi will not.
bs, err := ioutil.ReadAll(refreshReq.Body)
assert.NoError(t, err)