Skip to content

Commit

Permalink
MailingTest - Update multilingual helper calls
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Aug 17, 2022
1 parent f776811 commit 6c1c896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/phpunit/CRM/Mailing/BAO/MailingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/CRM/Mailing/MailingSystemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 6c1c896

Please sign in to comment.