summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-05 10:21:51 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-05 10:21:51 +0200
commit19e3780ef24113bcb7950b5671e4c0149271c5c8 (patch)
tree4ed861b9983322ce7917e78f5ed30ff34b863e1c
parentd97e3c3571acb2ea88623384f4b17ced41dc0be9 (diff)
downloadnextcloud-server-19e3780ef24113bcb7950b5671e4c0149271c5c8.tar.gz
nextcloud-server-19e3780ef24113bcb7950b5671e4c0149271c5c8.zip
remove unneeded vars from unit test
-rw-r--r--tests/lib/l10n.php4
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() {