RED-6503: Do not override ocred pages on ocr successful, fixed unittest

This commit is contained in:
deiflaender 2023-03-28 09:12:45 +02:00
parent a60684cf8e
commit 6201c042f0

View File

@ -75,7 +75,6 @@ public class FileProcessingTest extends AbstractPersistenceServerServiceTest {
fileProcessingClient.ocrSuccessful(dossier.getId(), file.getId());
loadedFile = fileClient.getFileStatus(dossier.getId(), file.getId());
assertThat(loadedFile.getProcessingStatus()).isEqualTo(ProcessingStatus.FULL_PROCESSING);
assertThat(loadedFile.getOcrEndTime()).isNotNull();
fileProcessingClient.indexing(dossier.getId(), file.getId());
loadedFile = fileClient.getFileStatus(dossier.getId(), file.getId());