mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-2078 fix for the spellcheck ACL test in a sharded mode
This commit is contained in:
+2
-2
@@ -471,14 +471,14 @@ public class SearchSpellCheckTest extends AbstractSearchServicesE2ETest
|
||||
|
||||
// Checks for User 2
|
||||
// Incorrect spelling for files created no field
|
||||
response = SearchSpellcheckQuery(testUser2, "spacefur", "spacefur");
|
||||
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());
|
||||
testSearchSpellcheckResponse(response, "searchInsteadFor", "spacecar");
|
||||
|
||||
// correct spelling no field
|
||||
response = SearchSpellcheckQuery(testUser2, "spacebur", "spacebur");
|
||||
response = SearchSpellcheckQuery(testUser2, "spacebar", "spacebar");
|
||||
|
||||
// Matching Result, Spellcheck = searchInsteadFor: spacecar
|
||||
Assert.assertFalse(isContentInSearchResponse(response, file1.getName()), "Expected file not returned in the search results: " + file1.getName());
|
||||
|
||||
Reference in New Issue
Block a user