mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-10-08 14:51:20 +00:00
TAS-938 getSiteContainers with admin user
This commit is contained in:
@@ -82,4 +82,13 @@ public class GetSiteContainersSanityTests extends RestTest
|
||||
siteAPI.getSiteContainers(siteModel.getId());
|
||||
siteAPI.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK.toString());
|
||||
}
|
||||
|
||||
@TestRail(section = { "rest-api", "sites" }, executionType = ExecutionType.SANITY,
|
||||
description = "Verify user with Admin user gets site containers information and gets status code OK (200)")
|
||||
public void getSiteContainersWithAdminUser() throws JsonToModelConversionException, Exception
|
||||
{
|
||||
restClient.authenticateUser(adminUserModel);
|
||||
siteAPI.getSiteContainers(siteModel.getId());
|
||||
siteAPI.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user