mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-14 01:35:55 +09:00
Call MultipartForm.RemoveAll when request finishes (#19606)
This commit is contained in:
1 parent
7b089c465d
commit
04fc4b7e05
7 files changed
+21
No files matched your search
@@ -38,6 +38,7 @@ func MockContext(t *testing.T, path string) *context.Context {
|
||||
Resp: context.NewResponse(resp),
|
||||
Locale: &mockLocale{},
|
||||
}
|
||||
defer ctx.Close()
|
||||
|
||||
requestURL, err := url.Parse(path)
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in new issue
Block a user