From b479fe7f89e5f7d65e80945a1e17dc0fac4ecc2a Mon Sep 17 00:00:00 2001 From: Eva Vasques Date: Fri, 18 Mar 2022 18:50:50 +0000 Subject: [PATCH] Typo in 2 of the assertions of the new test, where we do expect to find results --- .../searchServices/search/FieldDefinitionTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/FieldDefinitionTest.java b/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/FieldDefinitionTest.java index a6f55bddd..048f4cca2 100644 --- a/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/FieldDefinitionTest.java +++ b/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/FieldDefinitionTest.java @@ -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); } }