mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1090: fix regress (V1 REST API - list children within the context of a smart folder)
- follow-on (re: NodeApiTest.getChildrenAssocType fallout - when returning any assoc, not just cm:contains) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2124,6 +2124,10 @@ public class NodeApiTest extends AbstractSingleNetworkSiteTest
|
||||
String c1Id = nodeResp.getId();
|
||||
assertEquals(fId, nodeResp.getParentId());
|
||||
|
||||
response = getAll(getNodeChildrenUrl(fId), null, null, 200);
|
||||
nodes = RestApiUtil.parseRestApiEntries(response.getJsonResponse(), Node.class);
|
||||
assertEquals(1, nodes.size());
|
||||
|
||||
obj = new Node();
|
||||
obj.setName("c2");
|
||||
obj.setNodeType(TYPE_CM_CONTENT);
|
||||
|
Reference in New Issue
Block a user