Skip to content

Commit b632aaf

Browse files
committed
updated tests
1 parent ae502ad commit b632aaf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,10 @@
5050
"phpunit",
5151
"phpcs"
5252
]
53+
},
54+
"config": {
55+
"allow-plugins": {
56+
"kylekatarnls/update-helper": false
57+
}
5358
}
5459
}

tests/LocalesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public function testLocalesVariants()
3737

3838
$pluralForms = $translations->getPluralForms();
3939

40-
$this->assertEquals(2, $pluralForms[0]);
41-
$this->assertEquals('n > 1', $pluralForms[1]);
40+
$this->assertEquals(3, $pluralForms[0]);
41+
$this->assertEquals('(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)', $pluralForms[1]);
4242

4343
$translations->setLanguage('az');
4444

0 commit comments

Comments
 (0)