fix(tests): Add missing addFolderToLibrary call to TestMediaItemISBNNormalization

- TestMediaItemISBNNormalization was missing library folder creation
- Caused HTTP 400 errors when creating media items
- addFolderToLibrary call was accidentally removed from line 73
- Tests now properly create library with folder before adding media items

This fixes the root cause of ISBN normalization test failures where
media-item creation failed due to missing library folder requirement.
This commit is contained in:
2026-02-11 15:32:09 -05:00
parent f93d44c5d1
commit 5d93577078
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ ENV RATE_LIMIT_ENABLED=false
ENV REQUESTS_PER_MINUTE=1000
# Default command for running tests
CMD ["go", "test", "./cmd/server/tests", "-v", "-timeout", "5m"]
CMD ["go", "test", "./cmd/server/tests", "-v", "-timeout", "5m", "-parallel=1"]
# Final stage
FROM alpine:latest