ATS-995: TIFF to PDF ImageMagick transform don't work

This commit is contained in:
Krystian Dabrowski
2022-11-09 14:27:00 +01:00
parent ceee8e153b
commit d2ef043314

View File

@@ -62,9 +62,7 @@ public class AIOImageMagickIT extends ImageMagickTransformationIT
final ResponseEntity<Resource> response = sendTRequest("http://localhost:8090", sourceFile, sourceMimetype, final ResponseEntity<Resource> response = sendTRequest("http://localhost:8090", sourceFile, sourceMimetype,
targetMimetype, targetExtension, tOptions); targetMimetype, targetExtension, tOptions);
final String descriptor = format("Transform ({0}, {1} -> {2}, {3})", assertEquals(OK, response.getStatusCode());
sourceFile, sourceMimetype, targetMimetype, targetExtension);
assertEquals(OK, response.getStatusCode(), descriptor);
final PDDocument pdfFile = PDDocument.load(response.getBody().getInputStream()); final PDDocument pdfFile = PDDocument.load(response.getBody().getInputStream());
assertNotNull(pdfFile); assertNotNull(pdfFile);
} }