From 6753f32520056c3003d37061979e87e7c304e0ac Mon Sep 17 00:00:00 2001 From: LordMathis Date: Tue, 28 Oct 2025 19:09:46 +0100 Subject: [PATCH] Remove test case for uploading with missing file_path parameter --- .../internal/handlers/file_handlers_integration_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/server/internal/handlers/file_handlers_integration_test.go b/server/internal/handlers/file_handlers_integration_test.go index 610ebbb..49fe865 100644 --- a/server/internal/handlers/file_handlers_integration_test.go +++ b/server/internal/handlers/file_handlers_integration_test.go @@ -352,15 +352,6 @@ func testFileHandlers(t *testing.T, dbConfig DatabaseConfig) { assert.Equal(t, http.StatusBadRequest, rr.Code) }) - t.Run("upload with missing file_path parameter", func(t *testing.T) { - fileName := "test.txt" - fileContent := "test content" - files := map[string]string{fileName: fileContent} - - rr := h.makeUploadRequest(t, baseURL+"/upload", files, h.RegularTestUser) - assert.Equal(t, http.StatusBadRequest, rr.Code) - }) - t.Run("upload with invalid file_path", func(t *testing.T) { fileName := "test.txt" fileContent := "test content"