X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FXmlJsTest.php;h=29e97eb644bb94acf35f9c9d186e6a6860a3d11f;hb=9ba3fca2d8adc56787c8efc32c41424cb212e387;hp=907ce79f9375fb80938a77cc3fe3b0784ede8f1c;hpb=e1ecdea0b1272a2444547128437507673e19525c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/XmlJsTest.php b/tests/phpunit/includes/XmlJsTest.php index 907ce79f93..29e97eb644 100644 --- a/tests/phpunit/includes/XmlJsTest.php +++ b/tests/phpunit/includes/XmlJsTest.php @@ -3,7 +3,7 @@ /** * @group Xml */ -class XmlJs extends MediaWikiTestCase { +class XmlJs extends PHPUnit_Framework_TestCase { /** * @covers XmlJsCode::__construct @@ -14,11 +14,11 @@ class XmlJs extends MediaWikiTestCase { $this->assertEquals( $value, $obj->value ); } - public function provideConstruction() { - return array( - array( null ), - array( '' ), - ); + public static function provideConstruction() { + return [ + [ null ], + [ '' ], + ]; } }