mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments
This commit is contained in:
@@ -149,7 +149,7 @@ public class NodeSizeDetailsTest extends AbstractBaseApiTest
|
|||||||
assertNotNull("After executing GET/size-details, it will provide NodeSizeDetails with 200 status code",
|
assertNotNull("After executing GET/size-details, it will provide NodeSizeDetails with 200 status code",
|
||||||
getResponse.getJsonResponse());
|
getResponse.getJsonResponse());
|
||||||
|
|
||||||
nodeSizeDetails = RestApiUtil.parseRestApiEntry(postResponse.getJsonResponse(), NodeSizeDetails.class);
|
nodeSizeDetails = RestApiUtil.parseRestApiEntry(getResponse.getJsonResponse(), NodeSizeDetails.class);
|
||||||
|
|
||||||
assertNotNull("We are not getting correct response " + nodeSizeDetails, nodeSizeDetails.getStatus());
|
assertNotNull("We are not getting correct response " + nodeSizeDetails, nodeSizeDetails.getStatus());
|
||||||
assertEquals("SizeDetails hasn't been calculated yet, current status -" + nodeSizeDetails.getStatus().name() + "]", status, nodeSizeDetails.getStatus().name());
|
assertEquals("SizeDetails hasn't been calculated yet, current status -" + nodeSizeDetails.getStatus().name() + "]", status, nodeSizeDetails.getStatus().name());
|
||||||
|
Reference in New Issue
Block a user