mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged V3.4 to HEAD
23974: Build Fix for: GroupsTest : Link child git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -483,12 +483,14 @@ public class GroupsTest extends BaseWebScriptTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Link the group again - exact duplicate are not allowed
|
* Link the group again - this passes without problem
|
||||||
* - the group could be linked in again with a different name - but not with a duplicate name
|
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
JSONObject newGroupJSON = new JSONObject();
|
JSONObject newGroupJSON = new JSONObject();
|
||||||
Response response = sendRequest(new PostRequest(URL_GROUPS + "/" + myRootGroup +"/children/" + groupLinkFullName, newGroupJSON.toString(), "application/json" ), Status.STATUS_INTERNAL_SERVER_ERROR);
|
Response response = sendRequest(new PostRequest(URL_GROUPS + "/" + myRootGroup +"/children/" + groupLinkFullName, newGroupJSON.toString(), "application/json" ), Status.STATUS_OK);
|
||||||
|
JSONObject top = new JSONObject(response.getContentAsString());
|
||||||
|
logger.debug(response.getContentAsString());
|
||||||
|
JSONObject data = top.getJSONObject("data");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user