From 27648a2be9b45412b1928b085091c9b38cedd5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szo=C5=82tysek?= Date: Fri, 31 Jan 2025 09:17:12 +0100 Subject: [PATCH] cs --- .../Repository/SearchService/RemoteIdIndexingTest.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php b/tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php index b25003e4d9..6692856082 100644 --- a/tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php +++ b/tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php @@ -55,15 +55,9 @@ public function testIndexingRemoteId(Criterion $criterion): void $contentId = self::$contentIdByRemoteIdIndex[$remoteId]; - // ensure correct collation for comparison + // apply explicit collation $collationFixedCriterion = new Criterion\RemoteId([ - new Criterion\LogicalAnd([ - new Criterion\Comparison( - 'remote_id', - Criterion\Operator::EQ, - $remoteId . " COLLATE utf8mb4_unicode_ci" - ) - ]) + $remoteId . ' COLLATE utf8mb4_unicode_ci', ]); // test searching using both Content & Location remote IDs for both Content items