[MNT-24127] Added Endpoint with test cases [ags][tas]

This commit is contained in:
mohit-singh4
2024-06-20 17:04:07 +05:30
parent 7c298e6f35
commit 76da68d205

View File

@@ -105,7 +105,7 @@ public class NodeFolderSizeApiTest extends AbstractBaseApiTest{
AuthenticationUtil.setFullyAuthenticatedUser(user1);
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);
String contentNodeId = document.toString();
assertNotNull(contentNodeId);