diff --git a/composer.json b/composer.json index 5c5c2b5c..289e14f1 100644 --- a/composer.json +++ b/composer.json @@ -50,5 +50,10 @@ "phpunit", "phpcs" ] + }, + "config": { + "allow-plugins": { + "kylekatarnls/update-helper": false + } } } diff --git a/tests/LocalesTest.php b/tests/LocalesTest.php index 30fb8693..73f6bc6c 100644 --- a/tests/LocalesTest.php +++ b/tests/LocalesTest.php @@ -37,8 +37,8 @@ public function testLocalesVariants() $pluralForms = $translations->getPluralForms(); - $this->assertEquals(2, $pluralForms[0]); - $this->assertEquals('n > 1', $pluralForms[1]); + $this->assertEquals(3, $pluralForms[0]); + $this->assertEquals('(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)', $pluralForms[1]); $translations->setLanguage('az');