From 6c1c896a7471290c29e663186d3c751ad159d1a4 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 17 Aug 2022 00:19:02 -0700 Subject: [PATCH] MailingTest - Update multilingual helper calls --- tests/phpunit/CRM/Mailing/BAO/MailingTest.php | 2 +- tests/phpunit/CRM/Mailing/MailingSystemTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Mailing/BAO/MailingTest.php b/tests/phpunit/CRM/Mailing/BAO/MailingTest.php index 30428e6c7065..53289cf06d85 100644 --- a/tests/phpunit/CRM/Mailing/BAO/MailingTest.php +++ b/tests/phpunit/CRM/Mailing/BAO/MailingTest.php @@ -19,7 +19,7 @@ class CRM_Mailing_BAO_MailingTest extends CiviUnitTestCase { public function tearDown(): void { global $dbLocale; if ($dbLocale) { - CRM_Core_I18n_Schema::makeSinglelingual('en_US'); + $this->disableMultilingual(); } parent::tearDown(); } diff --git a/tests/phpunit/CRM/Mailing/MailingSystemTest.php b/tests/phpunit/CRM/Mailing/MailingSystemTest.php index 620117b5649d..083a14f28e3e 100644 --- a/tests/phpunit/CRM/Mailing/MailingSystemTest.php +++ b/tests/phpunit/CRM/Mailing/MailingSystemTest.php @@ -70,7 +70,7 @@ public function hook_alterMailParams(&$params, $context = NULL): void { public function tearDown(): void { global $dbLocale; if ($dbLocale) { - CRM_Core_I18n_Schema::makeSinglelingual('en_US'); + $this->disableMultilingual(); } parent::tearDown(); $this->assertNotEmpty($this->counts['hook_alterMailParams']);