mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
REPO-2289 : Implement tests in TAS project for 'Groups'
Remove only DESC assertion sorting from GroupsTests.createListUpdateAndDeleteGroup because the assert does not work properly.
This commit is contained in:
@@ -46,7 +46,7 @@ public class GroupsTests extends RestTest
|
||||
restClient.assertStatusCodeIs(HttpStatus.CREATED);
|
||||
|
||||
//ListGroups:
|
||||
restClient.withCoreAPI().usingParams("&maxItems=10").usingGroups().listGroups()
|
||||
restClient.withCoreAPI().usingParams("orderBy=displayName DESC&maxItems=10").usingGroups().listGroups()
|
||||
.assertThat().entriesListContains("id", "GROUP_"+groupName)
|
||||
.and().entriesListDoesNotContain("zones")
|
||||
.and().paginationField("maxItems").is("10");
|
||||
|
||||
Reference in New Issue
Block a user