refactor(test): remove issue reference from makeService javadoc
Some checks failed
CI / Unit & Component Tests (pull_request) Failing after 3m44s
CI / OCR Service Tests (pull_request) Successful in 41s
CI / Backend Unit Tests (pull_request) Failing after 3m16s
CI / Unit & Component Tests (push) Failing after 4m5s
CI / OCR Service Tests (push) Successful in 57s
CI / Backend Unit Tests (push) Failing after 3m12s
Some checks failed
CI / Unit & Component Tests (pull_request) Failing after 3m44s
CI / OCR Service Tests (pull_request) Successful in 41s
CI / Backend Unit Tests (pull_request) Failing after 3m16s
CI / Unit & Component Tests (push) Failing after 4m5s
CI / OCR Service Tests (push) Successful in 57s
CI / Backend Unit Tests (push) Failing after 3m12s
Issue numbers in code comments rot as the codebase evolves. The why (keeping real-database fidelity without pulling full service trees in) is what matters, not the fix number. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #420.
This commit is contained in:
@@ -220,8 +220,7 @@ class TrainingDataExportServiceTest {
|
|||||||
/**
|
/**
|
||||||
* Builds the export service with mocked owning services that transparently
|
* Builds the export service with mocked owning services that transparently
|
||||||
* delegate every read to the real JPA repositories provided by {@code @DataJpaTest}.
|
* delegate every read to the real JPA repositories provided by {@code @DataJpaTest}.
|
||||||
* Keeps the integration test green after #417's layering refactor without
|
* Keeps real-database fidelity without pulling the full service trees into scope.
|
||||||
* pulling the full transcription/annotation/document service trees into scope.
|
|
||||||
*/
|
*/
|
||||||
private TrainingDataExportService makeService(FileService fileService) {
|
private TrainingDataExportService makeService(FileService fileService) {
|
||||||
TranscriptionBlockQueryService blockQueryService = mock(TranscriptionBlockQueryService.class);
|
TranscriptionBlockQueryService blockQueryService = mock(TranscriptionBlockQueryService.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user