feat(transcription): person @mention sidecar + rename propagation (PR-A backend, #362) #366
@@ -321,7 +321,7 @@ class PersonServiceTest {
|
||||
.build();
|
||||
|
||||
TranscriptionBlockRepository blockRepo = mock(TranscriptionBlockRepository.class);
|
||||
when(blockRepo.findByMentionedPersons_PersonId(id))
|
||||
when(blockRepo.findByPersonIdWithMentionsFetched(id))
|
||||
.thenReturn(List.of(referencingBlock));
|
||||
when(blockRepo.saveAllAndFlush(any()))
|
||||
.thenThrow(new ObjectOptimisticLockingFailureException(
|
||||
|
||||
Reference in New Issue
Block a user