diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-23 14:38:49 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-07-23 18:11:29 +0300 |
commit | 7e6c0ec2845a0133dd16248b40ea2faa1df7f9c9 (patch) | |
tree | 05f633cce5e0195c48e5285bdfebd478f0c3b26e /tests | |
parent | e4144e6b36eb874d73dd6d2282a0ac0f0ee1bd63 (diff) |
Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/L10N/FactoryTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/L10N/FactoryTest.php b/tests/lib/L10N/FactoryTest.php index 7e1fb8c8886..fb5286ebe65 100644 --- a/tests/lib/L10N/FactoryTest.php +++ b/tests/lib/L10N/FactoryTest.php @@ -329,7 +329,7 @@ class FactoryTest extends TestCase { ->with($app) ->willReturn(\OC::$SERVERROOT . '/tests/data/l10n/'); - $this->assertEquals(['cs', 'de', 'en', 'ru'], $factory->findAvailableLanguages($app), '', 0.0, 10, true); + $this->assertEqualsCanonicalizing(['cs', 'de', 'en', 'ru'], $factory->findAvailableLanguages($app)); } public function dataLanguageExists() { @@ -360,7 +360,7 @@ class FactoryTest extends TestCase { ->with('theme') ->willReturn('abc'); - $this->assertEquals(['en', 'zz'], $factory->findAvailableLanguages($app), '', 0.0, 10, true); + $this->assertEqualsCanonicalizing(['en', 'zz'], $factory->findAvailableLanguages($app)); } /** |