Typo in 2 of the assertions of the new test, where we do expect to find results

This commit is contained in:
Eva Vasques
2022-03-18 18:50:50 +00:00
parent a3b302bb51
commit b479fe7f89
@@ -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);
}
}