From 605c37620f4a147aa316dc8224cc15f66f1588a1 Mon Sep 17 00:00:00 2001 From: michalsn Date: Tue, 29 Oct 2024 18:20:07 +0100 Subject: [PATCH] skip unicode strings for SQLSRV --- tests/system/Database/Live/LikeTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/system/Database/Live/LikeTest.php b/tests/system/Database/Live/LikeTest.php index 9591eef72ea8..51ad0c19f228 100644 --- a/tests/system/Database/Live/LikeTest.php +++ b/tests/system/Database/Live/LikeTest.php @@ -79,6 +79,12 @@ public function testLikeCaseInsensitive(): void #[DataProvider('provideMultibyteCharacters')] public function testLikeCaseInsensitiveWithMultibyteCharacter(string $match, string $result): void { + if ($this->db->DBDriver === 'SQLSRV') { + $this->markTestSkipped( + 'Currently Builder class does not fully support Unicode strings in SQLSRV.' + ); + } + $wai = $this->db->table('without_auto_increment')->like('value', $match, 'both', null, true)->get(); $wai = $wai->getRow();