fix(backend): resolve cross-domain repo + controller→repo violations (#417) #420

Merged
marcel merged 9 commits from feat/issue-417-resolve-layering-violations into main 2026-05-05 10:50:04 +02:00
Showing only changes of commit 89e9a2452e - Show all commits

View File

@@ -220,8 +220,7 @@ class TrainingDataExportServiceTest {
/**
* Builds the export service with mocked owning services that transparently
* delegate every read to the real JPA repositories provided by {@code @DataJpaTest}.
* Keeps the integration test green after #417's layering refactor without
* pulling the full transcription/annotation/document service trees into scope.
* Keeps real-database fidelity without pulling the full service trees into scope.
*/
private TrainingDataExportService makeService(FileService fileService) {
TranscriptionBlockQueryService blockQueryService = mock(TranscriptionBlockQueryService.class);