mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-24 14:31:29 +00:00
TAS-1015 REST API - valid request returns success status code 200 with Collaborator role
This commit is contained in:
@@ -56,4 +56,13 @@ public class GetSiteMembershipSanityTests extends RestTest
|
||||
.assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
|
||||
@TestRail(section = { "rest-api",
|
||||
"people" }, executionType = ExecutionType.SANITY, description = "Verify site collaborator is able to retrieve site membership information of another user")
|
||||
public void siteCollaboratorCanRetrieveSiteMembershipInformation() throws JsonToModelConversionException, Exception
|
||||
{
|
||||
restClient.authenticateUser(usersWithRoles.getOneUserWithRole(UserRole.SiteCollaborator));
|
||||
peopleApi.getSiteMembership(adminUser, siteModel);
|
||||
peopleApi.usingRestWrapper().assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user