diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-23 13:38:49 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-07-23 20:26:45 +0000 |
commit | c4bedf468e62e46921039c739bf37327364d3746 (patch) | |
tree | 74e3e76699c29c68032420bfe553b0f6e49151f4 /tests | |
parent | f11d72a9280fea8e4f5022b41116c89cc451fd32 (diff) | |
download | nextcloud-server-c4bedf468e62e46921039c739bf37327364d3746.tar.gz nextcloud-server-c4bedf468e62e46921039c739bf37327364d3746.zip |
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)); } /** |