From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- tests/phpunit/languages/LanguageBsTest.php | 41 ------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 tests/phpunit/languages/LanguageBsTest.php (limited to 'tests/phpunit/languages/LanguageBsTest.php') diff --git a/tests/phpunit/languages/LanguageBsTest.php b/tests/phpunit/languages/LanguageBsTest.php deleted file mode 100644 index b6631c03..00000000 --- a/tests/phpunit/languages/LanguageBsTest.php +++ /dev/null @@ -1,41 +0,0 @@ -lang = Language::factory( 'Bs' ); - } - function tearDown() { - unset( $this->lang ); - } - - /** @dataProvider providePlural */ - function testPlural( $result, $value ) { - $forms = array( 'one', 'few', 'many', 'other' ); - $this->assertEquals( $result, $this->lang->convertPlural( $value, $forms ) ); - } - - function providePlural() { - return array ( - array( 'many', 0 ), - array( 'one', 1 ), - array( 'few', 2 ), - array( 'few', 4 ), - array( 'many', 5 ), - array( 'many', 11 ), - array( 'many', 20 ), - array( 'one', 21 ), - array( 'few', 24 ), - array( 'many', 25 ), - array( 'many', 200 ), - ); - } - -} -- cgit v1.2.2