mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-1681 review changes with pagination message
This commit is contained in:
+2
-7
@@ -142,13 +142,8 @@ public class ShardInfoTest extends AbstractE2EFunctionalTest
|
||||
RestShardInfoModelCollection info = restClient.authenticateUser(dataUser.getAdminUser()).withShardInfoAPI().getInfo();
|
||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||
info.assertThat().entriesListIsNotEmpty();
|
||||
|
||||
if(info.getPagination().getTotalItems().intValue() == 2){
|
||||
assertEquals(info.getPagination().getTotalItems().intValue(), 2);
|
||||
}
|
||||
else{
|
||||
System.out.println("Pagination is: " + info.getPagination().getTotalItems().intValue() + " not expected value of 2");
|
||||
}
|
||||
|
||||
assertEquals(info.getPagination().getTotalItems().intValue(), 2, "Pagination is: " + info.getPagination().getTotalItems().intValue() + " not expected value of 2");
|
||||
|
||||
Set<String> stores = Sets.newHashSet("workspace://SpacesStore", "archive://SpacesStore");
|
||||
List<String> baseUrls = Arrays.asList("/solr/alfresco", "/solr/archive");
|
||||
|
||||
Reference in New Issue
Block a user