increased maxItems

This commit is contained in:
cagache
2017-02-22 10:41:54 +02:00
parent 1afba48ee8
commit 3ea3ecedb6
@@ -70,7 +70,7 @@ public class GetTagsCoreTests extends RestTest
public void fileTagIsRetrieved() throws JsonToModelConversionException, Exception
{
restClient.authenticateUser(adminUserModel);
returnedCollection = restClient.withParams("maxItems=500").withCoreAPI().getTags();
returnedCollection = restClient.withParams("maxItems=10000").withCoreAPI().getTags();
restClient.assertStatusCodeIs(HttpStatus.OK);
returnedCollection.assertThat().entriesListIsNotEmpty()
.and().entriesListContains("tag", tagValue.toLowerCase());
@@ -82,7 +82,7 @@ public class GetTagsCoreTests extends RestTest
public void folderTagIsRetrieved() throws JsonToModelConversionException, Exception
{
restClient.authenticateUser(adminUserModel);
returnedCollection = restClient.withParams("maxItems=500").withCoreAPI().getTags();
returnedCollection = restClient.withParams("maxItems=10000").withCoreAPI().getTags();
restClient.assertStatusCodeIs(HttpStatus.OK);
returnedCollection.assertThat().entriesListIsNotEmpty()
.and().entriesListContains("tag", tagValue2.toLowerCase());