Tests: Make phpunit providers "public static".
[lhc/web/wiklou.git] / tests / phpunit / includes / GlobalFunctions / wfBCP47Test.php
index 0b048b4..6229be3 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /**
- * Unit tests for wfBCP47()
+ * Tests for wfBCP47()
  */
-class wfBCP47 extends MediaWikiTestCase {
+class WfBCP47Test extends MediaWikiTestCase {
        /**
         * test @see wfBCP47().
         * Please note the BCP explicitly state that language codes are case
@@ -28,7 +28,7 @@ class wfBCP47 extends MediaWikiTestCase {
        /**
         * Array format is ($code, $expected)
         */
-       function provideLanguageCodes() {
+       public static function provideLanguageCodes() {
                return array(
                        // Extracted from BCP47 (list not exhaustive)
                        # 2.1.1