From 8b7ae4ae9706b8aead439ee7f766dd3cc925c8da Mon Sep 17 00:00:00 2001 From: Yannick nsenga romeo Date: Wed, 14 Aug 2024 14:49:05 +0200 Subject: [PATCH] Fix failing tests after adding traditional Chinese translation --- tests/phpunit/modules/core/functions.php | 2 +- tests/phpunit/modules/core/output_modules.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/modules/core/functions.php b/tests/phpunit/modules/core/functions.php index 81a50f1127..d0f7b383b7 100644 --- a/tests/phpunit/modules/core/functions.php +++ b/tests/phpunit/modules/core/functions.php @@ -13,7 +13,7 @@ public function setUp(): void { * @runInSeparateProcess */ public function test_interface_langs() { - $this->assertEquals(16, count(interface_langs())); + $this->assertEquals(17, count(interface_langs())); } /** * @preserveGlobalState disabled diff --git a/tests/phpunit/modules/core/output_modules.php b/tests/phpunit/modules/core/output_modules.php index 5eba653d2a..972beade1d 100644 --- a/tests/phpunit/modules/core/output_modules.php +++ b/tests/phpunit/modules/core/output_modules.php @@ -713,7 +713,7 @@ public function test_language_setting() { $test = new Output_Test('language_setting', 'core'); $test->handler_response = array('language'=> 'en'); $res = $test->run(); - $this->assertEquals(array(''), $res->output_response); + $this->assertEquals(array(''), $res->output_response); } /** * @preserveGlobalState disabled