From 1dc39e89fdba0b6c94c70ef68312b10609ad8e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Sun, 5 Nov 2023 09:37:19 +0100 Subject: [PATCH] fixup! IBX-6649: Added support for spell checking --- tests/integration/Core/Repository/SearchServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/Core/Repository/SearchServiceTest.php b/tests/integration/Core/Repository/SearchServiceTest.php index be3b54c556..a2175606e2 100644 --- a/tests/integration/Core/Repository/SearchServiceTest.php +++ b/tests/integration/Core/Repository/SearchServiceTest.php @@ -4688,13 +4688,13 @@ public function testSpellcheckWithCorrectQuery(): void $query = new Query(); // Search phrase without typo - $query->spellcheck = new Query\Spellcheck('Contact Us'); + $query->spellcheck = new Query\Spellcheck('Ibexa Platform'); $results = $searchService->findContent($query); self::assertNotNull($results->spellcheck); self::assertFalse($results->spellcheck->isIncorrect()); - self::assertEqualsIgnoringCase('Contact Us', $results->spellcheck->getQuery()); + self::assertEqualsIgnoringCase('Ibexa Platform', $results->spellcheck->getQuery()); } /**