RED-6126: In the OCRService, OCR Text is not applied to Document
*formatted one line
This commit is contained in:
parent
edd044395e
commit
ab566a11a9
@ -72,6 +72,7 @@ public class OcrServiceIntegrationTest {
|
|||||||
@Test
|
@Test
|
||||||
@Disabled // OCRModule is not available on build server. If you want to run the test set the property at the top.
|
@Disabled // OCRModule is not available on build server. If you want to run the test set the property at the top.
|
||||||
public void testOCRInvisibleText() {
|
public void testOCRInvisibleText() {
|
||||||
|
|
||||||
String text = testOCR("InvisibleText");
|
String text = testOCR("InvisibleText");
|
||||||
assertThat(text).contains("Michela", "Gregori", "DVM", "PhD", "Pathologist", "SIGNATURE PAGE");
|
assertThat(text).contains("Michela", "Gregori", "DVM", "PhD", "Pathologist", "SIGNATURE PAGE");
|
||||||
assertThat(text).doesNotContain("COMPLETION DATE:", "LABORATORY PROJECT ID:", "AUTHOR(S):", "Substance");
|
assertThat(text).doesNotContain("COMPLETION DATE:", "LABORATORY PROJECT ID:", "AUTHOR(S):", "Substance");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user