From 94ed96e3ad489aa79d1b9d007193a4c43018c287 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 9 Feb 2026 14:40:20 -0500 Subject: [PATCH] Fix test helper to use valid container folder path - Change folder path from /tmp/test-library to /app/uploads/test-library - /app/uploads is mounted volume in docker-compose test container - Matches TEST_UPLOAD_PATH environment variable - Fixes library folder creation 400 error in integration tests Related: Library folder validation changes --- cmd/server/tests/test_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/server/tests/test_helpers.go b/cmd/server/tests/test_helpers.go index 18fb4c9..0ab82a9 100644 --- a/cmd/server/tests/test_helpers.go +++ b/cmd/server/tests/test_helpers.go @@ -298,7 +298,7 @@ func createTestMediaItemID(t *testing.T, ts *httptest.Server, token string) stri // Add a folder to the library (required before adding media items) folderReq := map[string]interface{}{ - "folder_path": "/tmp/test-library", + "folder_path": "/app/uploads/test-library", } folderBody, _ := json.Marshal(folderReq)