mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
ATS-995: TIFF to PDF ImageMagick transform don't work
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user