fix(backend): resolve cross-domain repo + controller→repo violations (#417) #420
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user