Move mediawiki.skinning.* modules from skins/common/ to resources/
[lhc/web/wiklou.git] / tests / phpunit / includes / LocalisationCacheTest.php
index 356db87..f98410a 100644 (file)
@@ -1,19 +1,22 @@
 <?php
 
+/**
+ * @covers LocalisationCache
+ */
 class LocalisationCacheTest extends MediaWikiTestCase {
        public function testPuralRulesFallback() {
                $cache = Language::getLocalisationCache();
 
                $this->assertEquals(
-                       $cache->getItem( 'ru', 'pluralRules' ),
-                       $cache->getItem( 'os', 'pluralRules' ),
-                       'os plural rules (undefined) fallback to ru (defined)'
+                       $cache->getItem( 'ar', 'pluralRules' ),
+                       $cache->getItem( 'arz', 'pluralRules' ),
+                       'arz plural rules (undefined) fallback to ar (defined)'
                );
 
                $this->assertEquals(
-                       $cache->getItem( 'ru', 'compiledPluralRules' ),
-                       $cache->getItem( 'os', 'compiledPluralRules' ),
-                       'os compiled plural rules (undefined) fallback to ru (defined)'
+                       $cache->getItem( 'ar', 'compiledPluralRules' ),
+                       $cache->getItem( 'arz', 'compiledPluralRules' ),
+                       'arz compiled plural rules (undefined) fallback to ar (defined)'
                );
 
                $this->assertNotEquals(