Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

124273 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)
   - follow-on to fix test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:28:21 +00:00
parent c1d3421cc8
commit 23caf308ae

View File

@@ -493,7 +493,7 @@ public class RenditionsTest extends AbstractBaseApiTest
d1.setContent(ci);
// create empty file including request to generate imgpreview thumbnail
renditionName = "imgpreview";
renditionName = "medium";
response = post(getNodeChildrenUrl(folder_Id), userId, toJsonAsStringNonNull(d1), "?renditions="+renditionName, 201);
Document documentResp = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Document.class);
String d1Id = documentResp.getId();