mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-10-08 14:51:20 +00:00
TAS-1008 getSiteMember with collaborator role
This commit is contained in:
@@ -57,4 +57,13 @@ public class GetSiteMemberSanityTests extends RestTest
|
||||
restSitesApi.getSiteMember(siteModel, userModel);
|
||||
restSitesApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
|
||||
@TestRail(section = { "rest-api", "sites" }, executionType = ExecutionType.SANITY,
|
||||
description = "Verify user with Collaborator role gets site member and gets status code OK (200)")
|
||||
public void getSiteMemberWithCollaboratorRole() throws Exception
|
||||
{
|
||||
restClient.authenticateUser(usersWithRoles.getOneUserWithRole(UserRole.SiteCollaborator));
|
||||
restSitesApi.getSiteMember(siteModel, userModel);
|
||||
restSitesApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user