mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 18:17:19 +00:00
Call MultipartForm.RemoveAll when request finishes (#19606)
This commit is contained in:
@ -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