From: demeritcowboy Date: Wed, 4 Jan 2023 03:08:54 +0000 (-0500) Subject: restore properly X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=22d3c75c7e411aee1124add310562908fc163f33;p=civicrm-core.git restore properly --- 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"); }