tercul-backend/internal/testutil
google-labs-jules[bot] a68db7b694 refactor(app): move composition root to main.go
Refactored the application's dependency injection and server setup to improve modularity and adhere to the Dependency Inversion Principle.

- Moved the instantiation of all application services from `internal/app/app.go` to the composition root in `cmd/api/main.go`.
- The `app.NewApplication` function now accepts pre-built service interfaces, making the `app` package a simple container.
- Updated `internal/testutil/integration_test_utils.go` to reflect the new DI pattern, ensuring tests align with the refactored structure.
- Corrected build errors that arose from the refactoring, including import conflicts and incorrect function calls.
- Updated `TASKS.md` to mark the 'Refactor Dependency Injection' task as complete.
2025-10-07 14:05:19 +00:00
..
integration_test_utils.go refactor(app): move composition root to main.go 2025-10-07 14:05:19 +00:00
mock_base_repository.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
mock_jwt_manager.go refactor: Refactor GraphQL tests to use mock-based unit tests 2025-10-03 09:21:41 +00:00
mock_like_service.go refactor: Refactor GraphQL tests to use mock-based unit tests 2025-10-03 09:21:41 +00:00
mock_translation_repository.go feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00
mock_user_repository.go feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00
mock_weaviate_wrapper.go feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00
mock_work_repository.go feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00
simple_test_utils.go feat: Implement production-ready API patterns 2025-10-04 18:16:08 +00:00
test_entity.go Refactor repository tests to be more DRY and maintainable. 2025-09-06 13:01:04 +00:00
testutil.go Chore: Clean up lint warnings and improve code quality 2025-10-07 13:14:01 +00:00