mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size
This commit is contained in:
@@ -114,6 +114,7 @@ public class NodeFolderSizeApiTest extends AbstractBaseApiTest
|
|||||||
|
|
||||||
// Perform POST request
|
// Perform POST request
|
||||||
HttpResponse response = post(getCalculateFolderSizeUrl(folderId), toJsonAsStringNonNull(params), 202);
|
HttpResponse response = post(getCalculateFolderSizeUrl(folderId), toJsonAsStringNonNull(params), 202);
|
||||||
|
simpleCache = (SimpleCache<Serializable, Object>) this.applicationContext.getBean("folderSizeSharedCache");
|
||||||
Object resultAction = simpleCache.get(folderId);
|
Object resultAction = simpleCache.get(folderId);
|
||||||
assertNotNull("simpleCache response should not be null", resultAction);
|
assertNotNull("simpleCache response should not be null", resultAction);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user