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:
Alexandru-Eusebiu Epure
2017-10-24 18:15:39 +03:00
parent 3a80218f24
commit cbae035ed4
@@ -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");