mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +00:00
TAS-987 getSiteMembers with Collaborator role
This commit is contained in:
@@ -58,4 +58,13 @@ public class GetSiteMembersSanityTests extends RestTest
|
||||
siteAPI.getSiteMembers(siteModel.getId());
|
||||
siteAPI.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK.toString());
|
||||
}
|
||||
|
||||
@TestRail(section = {"rest-api", "sites" }, executionType = ExecutionType.SANITY,
|
||||
description = "Verify user with Collaborator role gets site members and gets status code OK (200)")
|
||||
public void getSiteMembersWithCollaboratorRole() throws JsonToModelConversionException, Exception
|
||||
{
|
||||
restClient.authenticateUser(usersWithRoles.get(UserRole.SiteCollaborator));
|
||||
siteAPI.getSiteMembers(siteModel.getId());
|
||||
siteAPI.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user