RED-6126: In the OCRService, OCR Text is not applied to Document

*formatted one line
This commit is contained in:
Kilian Schuettler 2023-02-03 13:03:47 +01:00
parent edd044395e
commit ab566a11a9

View File

@ -72,6 +72,7 @@ public class OcrServiceIntegrationTest {
@Test
@Disabled // OCRModule is not available on build server. If you want to run the test set the property at the top.
public void testOCRInvisibleText() {
String text = testOCR("InvisibleText");
assertThat(text).contains("Michela", "Gregori", "DVM", "PhD", "Pathologist", "SIGNATURE PAGE");
assertThat(text).doesNotContain("COMPLETION DATE:", "LABORATORY PROJECT ID:", "AUTHOR(S):", "Substance");