updated linter

This commit is contained in:
Gani Georgiev
2022-12-16 17:06:03 +02:00
parent 738f71f244
commit 687a79b450
7 changed files with 14 additions and 12 deletions
+4
View File
@@ -45,6 +45,10 @@ func TestNewFileFromFromPath(t *testing.T) {
func TestNewFileFromMultipart(t *testing.T) {
formData, mp, err := tests.MockMultipartData(nil, "test")
if err != nil {
t.Fatal(err)
}
req := httptest.NewRequest("", "/", formData)
req.Header.Set(echo.HeaderContentType, mp.FormDataContentType())
req.ParseMultipartForm(32 << 20)