ACS-2497 Rework httpTransformRequestUsingDirectAccessUrlTest so it can be used in AI and Aspose (#535)

This commit is contained in:
Alan Davis
2022-02-18 14:08:18 +00:00
committed by GitHub
parent 5587d183f3
commit f05b54dea3
3 changed files with 15 additions and 7 deletions

View File

@@ -153,6 +153,8 @@ public class TikaControllerTest extends AbstractTransformerControllerTest
{
sourceExtension = "pdf";
targetExtension = "txt";
sourceMimetype = MIMETYPE_PDF;
targetMimetype = MIMETYPE_TEXT_PLAIN;
}
@Override
@@ -649,9 +651,6 @@ public class TikaControllerTest extends AbstractTransformerControllerTest
@Override
public void httpTransformRequestUsingDirectAccessUrlTest() throws Exception
{
this.sourceExtension = PDF;
this.targetExtension = TXT;
this.sourceMimetype = MIMETYPE_PDF;
expectedTargetFileBytes = readTestFile(targetExtension);
super.httpTransformRequestUsingDirectAccessUrlTest();
}