mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
[MNT-24127] Added Endpoint with test cases [ags][tas]
This commit is contained in:
@@ -105,7 +105,7 @@ public class NodeFolderSizeApiTest extends AbstractBaseApiTest{
|
|||||||
AuthenticationUtil.setFullyAuthenticatedUser(user1);
|
AuthenticationUtil.setFullyAuthenticatedUser(user1);
|
||||||
permissionService = applicationContext.getBean("permissionService", PermissionService.class);
|
permissionService = applicationContext.getBean("permissionService", PermissionService.class);
|
||||||
|
|
||||||
HttpResponse response = getSingle(getFolderSizeUrl(folderId), toJsonAsStringNonNull(params), 200);
|
HttpResponse response = getSingle(getFolderSizeUrl(folderId), null, 200);
|
||||||
Object document = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Object.class);
|
Object document = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Object.class);
|
||||||
String contentNodeId = document.toString();
|
String contentNodeId = document.toString();
|
||||||
assertNotNull(contentNodeId);
|
assertNotNull(contentNodeId);
|
||||||
|
Reference in New Issue
Block a user