feat: chatbot trip search finds trips by trip name, hotel name and code
This commit is contained in:
1 parent
26d4140c18
commit
fe40e1807e
8 files changed
+448
-52
No files matched your search
@@ -18,6 +18,11 @@ class ContentSearchQueryTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
public function testAllTermsCanBeRequired(): void
|
||||
{
|
||||
self::assertSame('+sauna* +whirlpool*', ContentSearchQuery::booleanQuery('Sauna mit Whirlpool', allTerms: true));
|
||||
}
|
||||
|
||||
public function testTermsAreUniqueAndLowerCased(): void
|
||||
{
|
||||
self::assertSame(['gepäck', 'snowboard'], ContentSearchQuery::terms('Gepäck GEPÄCK Snowboard'));
|
||||
|
||||
Reference in new issue
Block a user