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