mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Typo in 2 of the assertions of the new test, where we do expect to find results
This commit is contained in:
+3
-3
@@ -208,7 +208,7 @@ public class FieldDefinitionTest extends AbstractSearchServicesE2ETest {
|
||||
Assert.assertEquals(response.getPagination().getCount(), 0);
|
||||
}
|
||||
|
||||
// A test to test the multiple mltext field in the solr schema
|
||||
// A test having multiple mltext field in the solr schema
|
||||
@Test(priority = 8)
|
||||
public void testmlTextFieldMuliple()
|
||||
{
|
||||
@@ -218,10 +218,10 @@ public class FieldDefinitionTest extends AbstractSearchServicesE2ETest {
|
||||
|
||||
response = queryAsUser(testUser, "allfieldtypes_multiplemltext:\"apple\"");
|
||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||
Assert.assertEquals(response.getPagination().getCount(), 0);
|
||||
Assert.assertEquals(response.getPagination().getCount(), 1);
|
||||
|
||||
response = queryAsUser(testUser, "allfieldtypes_multiplemltext:\"pear\"");
|
||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||
Assert.assertEquals(response.getPagination().getCount(), 0);
|
||||
Assert.assertEquals(response.getPagination().getCount(), 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user