From d0777bd0d3f8c0c4b83d5287195994a55cb3ccf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Wed, 14 Dec 2016 14:58:20 +0100 Subject: [PATCH] EZP-26775: skip Fulltext Location search with Elasticsearch engine --- Repository/Tests/SearchServiceTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Repository/Tests/SearchServiceTest.php b/Repository/Tests/SearchServiceTest.php index c497f919d..81785a3bd 100644 --- a/Repository/Tests/SearchServiceTest.php +++ b/Repository/Tests/SearchServiceTest.php @@ -4461,6 +4461,13 @@ function ($a, $b) { */ public function testFulltextLocationSearchComplex(array $data) { + $setupFactory = $this->getSetupFactory(); + if ($setupFactory instanceof LegacyElasticsearch) { + $this->markTestIncomplete( + 'Fulltext criterion is not supported with Location search in Elasticsearch engine' + ); + } + // Do not initialize from scratch $repository = $this->getRepository(false); list($criterion, $content1, $content2, $content3) = $data;