mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Save point: [skip ci]
* MiscTest green
This commit is contained in:
@@ -333,7 +333,6 @@ public abstract class AbstractBaseTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
// Is okay, as the target filename is built up from the whole source filename and the targetExtension
|
|
||||||
public void noExtensionSourceFilenameTest() throws Exception
|
public void noExtensionSourceFilenameTest() throws Exception
|
||||||
{
|
{
|
||||||
sourceFile = new MockMultipartFile("file", "../quick", sourceMimetype, sourceFileBytes);
|
sourceFile = new MockMultipartFile("file", "../quick", sourceMimetype, sourceFileBytes);
|
||||||
@@ -415,7 +414,6 @@ public abstract class AbstractBaseTest
|
|||||||
String directUrl = "file://" + sourceFile.toPath();
|
String directUrl = "file://" + sourceFile.toPath();
|
||||||
|
|
||||||
transformRequestOptions.put(DIRECT_ACCESS_URL, directUrl);
|
transformRequestOptions.put(DIRECT_ACCESS_URL, directUrl);
|
||||||
// transformRequest.setTransformRequestOptions(transformRequestOptions);
|
|
||||||
|
|
||||||
when(alfrescoSharedFileStoreClient.saveFile(any()))
|
when(alfrescoSharedFileStoreClient.saveFile(any()))
|
||||||
.thenReturn(new FileRefResponse(new FileRefEntity(targetFileRef)));
|
.thenReturn(new FileRefResponse(new FileRefEntity(targetFileRef)));
|
||||||
|
Reference in New Issue
Block a user