mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details
This commit is contained in:
@@ -208,7 +208,7 @@ public class NodeSizeDetailsTest extends AbstractBaseApiTest
|
||||
String childFolderName = "dummyFolder";
|
||||
String fileName = "dummyContent.txt";
|
||||
|
||||
Folder folder = createFolder(tDocLibNodeId, childFolderName);
|
||||
Folder folder = createFolder(Nodes.PATH_MY, childFolderName);
|
||||
|
||||
NodePermissions nodePermissions = new NodePermissions();
|
||||
List<NodePermissions.NodePermission> locallySetPermissions = new ArrayList<>();
|
||||
@@ -226,7 +226,6 @@ public class NodeSizeDetailsTest extends AbstractBaseApiTest
|
||||
d1.setPermissions(nodePermissions);
|
||||
folder.setPermissions(nodePermissions);
|
||||
|
||||
setRequestContext(user2);
|
||||
HttpResponse response = post(getCalculateFolderSizeUrl(folder.getId()), toJsonAsStringNonNull(d1), null, 403);
|
||||
assertNotNull(response);
|
||||
|
||||
|
Reference in New Issue
Block a user