diff options
-rw-r--r-- | tests/lib/l10n.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/l10n.php b/tests/lib/l10n.php index 846a2f22c8e..dfc5790c2e7 100644 --- a/tests/lib/l10n.php +++ b/tests/lib/l10n.php @@ -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() { |