mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 04:01:34 +00:00
- Fixes a potential panic in the background job queue by changing `log.Fatalf` to `log.Printf`, allowing for more graceful error handling.
- Implements all `panic("not implemented")` methods in the mock repositories for `Like`, `Work`, and `User`, enabling more robust testing.
- Consolidates duplicated `WorkAnalytics` and `TranslationAnalytics` structs into a central `internal/domain/analytics` package to reduce code duplication and improve maintainability.
- Corrects build errors that arose during testing, including an unused import and an incorrect struct field name in a mock repository.
|
||
|---|---|---|
| .. | ||
| integration_test_utils.go | ||
| mock_base_repository.go | ||
| mock_jwt_manager.go | ||
| mock_like_service.go | ||
| mock_translation_repository.go | ||
| mock_user_repository.go | ||
| mock_weaviate_wrapper.go | ||
| mock_work_repository.go | ||
| simple_test_utils.go | ||
| test_entity.go | ||
| testutil.go | ||