Merge branch 'DM-326' into 'master'

DM-326: extend removeInvisibleElements

Closes DM-326

See merge request redactmanager/ocr-service!10
This commit is contained in:
Kilian Schüttler 2023-07-14 12:48:49 +02:00
commit 82db83936d
3 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<dependency>
<groupId>com.iqser.red.commons</groupId>
<artifactId>pdftron-logic-commons</artifactId>
<version>2.5.0</version>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>com.iqser.red.commons</groupId>

View File

@ -23,7 +23,7 @@ class WatermarkRemovalServiceTest extends AbstractTest {
@SneakyThrows
public void removeWatermarksTest() {
String filename = "files/403-17_Fantom_ToxicidadeInalatoriaAguda.pdf";
String filename = "files/Watermark.pdf";
try (var in = new ClassPathResource(filename).getInputStream(); var out = new FileOutputStream(OsUtils.createTmpFileName(filename, "WATERMARK_REMOVED"))) {
watermarkRemovalService.removeWatermarks(in, out);
}