mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126510 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 122805 jkaabimofrad: Fixed test failure . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -556,11 +556,6 @@ public class RenditionsTest extends AbstractBaseApiTest
|
|||||||
response = post("nodes/" + folder_Id + "/children", userOneN1.getId(), reqBody.getBody(), null, reqBody.getContentType(), 201);
|
response = post("nodes/" + folder_Id + "/children", userOneN1.getId(), reqBody.getBody(), null, reqBody.getContentType(), 201);
|
||||||
document = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Document.class);
|
document = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Document.class);
|
||||||
contentNodeId = document.getId();
|
contentNodeId = document.getId();
|
||||||
// Check there is no rendition created yet
|
|
||||||
response = getSingle(getRenditionsUrl(contentNodeId), userOneN1.getId(), "doclib", 200);
|
|
||||||
rendition = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Rendition.class);
|
|
||||||
assertNotNull(rendition);
|
|
||||||
assertEquals(RenditionStatus.NOT_CREATED, rendition.getStatus());
|
|
||||||
|
|
||||||
// The content of the rendition does not exist and the placeholder parameter is not present
|
// The content of the rendition does not exist and the placeholder parameter is not present
|
||||||
getSingle(getRenditionsUrl(contentNodeId), userOneN1.getId(), "doclib/content", 404);
|
getSingle(getRenditionsUrl(contentNodeId), userOneN1.getId(), "doclib/content", 404);
|
||||||
|
Reference in New Issue
Block a user