Skip to content

Commit 27648a2

Browse files
committed
cs
1 parent 9b3fe8c commit 27648a2

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php

+2-8
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,9 @@ public function testIndexingRemoteId(Criterion $criterion): void
5555

5656
$contentId = self::$contentIdByRemoteIdIndex[$remoteId];
5757

58-
// ensure correct collation for comparison
58+
// apply explicit collation
5959
$collationFixedCriterion = new Criterion\RemoteId([
60-
new Criterion\LogicalAnd([
61-
new Criterion\Comparison(
62-
'remote_id',
63-
Criterion\Operator::EQ,
64-
$remoteId . " COLLATE utf8mb4_unicode_ci"
65-
)
66-
])
60+
$remoteId . ' COLLATE utf8mb4_unicode_ci',
6761
]);
6862

6963
// test searching using both Content & Location remote IDs for both Content items

0 commit comments

Comments
 (0)