]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unneeded vars from unit test
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 5 Aug 2013 08:21:51 +0000 (10:21 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 5 Aug 2013 08:21:51 +0000 (10:21 +0200)
tests/lib/l10n.php

index 846a2f22c8e22e0844210645b0394f110258dd17..dfc5790c2e75a369c4fe26e8314ca61f4d7c86b0 100644 (file)
@@ -13,8 +13,8 @@ class Test_L10n extends PHPUnit_Framework_TestCase {
                $transFile = OC::$SERVERROOT.'/tests/data/l10n/de.php';
 
                $l->load($transFile);
-               $this->assertEquals('1 Datei', (string)$l->n('%n file', '%n files', 1, array(1)));
-               $this->assertEquals('2 Dateien', (string)$l->n('%n file', '%n files', 2, array(2)));
+               $this->assertEquals('1 Datei', (string)$l->n('%n file', '%n files', 1));
+               $this->assertEquals('2 Dateien', (string)$l->n('%n file', '%n files', 2));
        }
 
        public function testRussianPluralTranslations() {