diff --git a/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchSpellCheckTest.java b/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchSpellCheckTest.java index 1e404e9a3..d695b6b23 100644 --- a/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchSpellCheckTest.java +++ b/e2e-test/src/test/java/org/alfresco/test/search/functional/searchServices/search/SearchSpellCheckTest.java @@ -318,10 +318,10 @@ public class SearchSpellCheckTest extends AbstractSearchServicesE2ETest testSearchSpellcheckResponse(response, "searchInsteadFor", "eklipse"); // Add Solr Query, to check the suggestions on each shard - restClient.authenticateUser(testUser).withParams("spellcheck.q=eclipses&spellcheck=on").withSolrAPI().getSelectQuery(); + restClient.authenticateUser(testUser).withParams("spellcheck.q=eclipsess&spellcheck=on").withSolrAPI().getSelectQuery(); // Incorrect spelling with no field for file2 - response = SearchSpellcheckQuery(testUser, "eclipses", "eclipses"); + response = SearchSpellcheckQuery(testUser, "eclipsess", "eclipsess"); // Matching Result, Spellcheck = searchInsteadFor: eklipses Assert.assertTrue(isContentInSearchResponse(response, file2.getName()), "Expected file not returned in the search results: " + file.getName()); @@ -467,11 +467,11 @@ public class SearchSpellCheckTest extends AbstractSearchServicesE2ETest testSearchSpellcheckResponse(response, null, null); // Add Solr Query, to check the suggestions on the shard - restClient.authenticateUser(testUser).withParams("spellcheck.q=spaceber&spellcheck=on").withSolrAPI().getSelectQuery(); + restClient.authenticateUser(testUser).withParams("spellcheck.q=spacebur&spellcheck=on").withSolrAPI().getSelectQuery(); // Checks for User 2 // Incorrect spelling for files created no field - response = SearchSpellcheckQuery(testUser2, "spaceber", "spaceber"); + response = SearchSpellcheckQuery(testUser2, "spacebur", "spacebur"); // Matching Result, Spellcheck = searchInsteadFor: spacecar Assert.assertTrue(isContentInSearchResponse(response, file2.getName()), "Expected file not returned in the search results: " + file2.getName());