From 22d3c75c7e411aee1124add310562908fc163f33 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 3 Jan 2023 22:08:54 -0500 Subject: [PATCH] restore properly --- tests/phpunit/CRM/Core/I18n/LocaleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Core/I18n/LocaleTest.php b/tests/phpunit/CRM/Core/I18n/LocaleTest.php index aad5872e20..47f6cd7bff 100644 --- a/tests/phpunit/CRM/Core/I18n/LocaleTest.php +++ b/tests/phpunit/CRM/Core/I18n/LocaleTest.php @@ -147,7 +147,7 @@ class CRM_Core_I18n_LocaleTest extends CiviUnitTestCase { $dao = new CRM_Core_DAO(); // When query() uses strtolower this returns NULL instead $this->assertEquals(1, $dao->query("INSERT INTO foo VALUES ('Turkish Delight')")); - setlocale(LC_ALL, 'en_US'); + setlocale(LC_ALL, 'en_US.utf8'); CRM_Core_DAO::executeQuery("DROP TABLE foo"); } -- 2.25.1