summaryrefslogtreecommitdiffstats
path: root/integrations/oauth_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-29 23:35:30 +0800
committerGitHub <noreply@github.com>2021-01-29 16:35:30 +0100
commit0cd87d64ff8bb40520877d3a217363de299f4531 (patch)
treed2ec167aea8f5b2ff673b13ba8be98a275d942ab /integrations/oauth_test.go
parent25b6255b924c30a2bab066c0465d146a34021245 (diff)
downloadgitea-0cd87d64ff8bb40520877d3a217363de299f4531.tar.gz
gitea-0cd87d64ff8bb40520877d3a217363de299f4531.zip
Update docs and comments to remove macaron (#14491)
Diffstat (limited to 'integrations/oauth_test.go')
-rw-r--r--integrations/oauth_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/oauth_test.go b/integrations/oauth_test.go
index a9e48b061f..e74ff28cad 100644
--- a/integrations/oauth_test.go
+++ b/integrations/oauth_test.go
@@ -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)