X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Flibs%2FMWMessagePackTest.php;h=f80f78df227bb3321cbbd118f4fbca913766ca1e;hb=239b0c772a3cf4dc2160e2c36c2813cd705adb50;hp=334d5b51d038d228bb07fcc2b0d693a57d45c699;hpb=b51207156f35b5a3df25ea688161a20c8c11379c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/libs/MWMessagePackTest.php b/tests/phpunit/includes/libs/MWMessagePackTest.php index 334d5b51d0..f80f78df22 100644 --- a/tests/phpunit/includes/libs/MWMessagePackTest.php +++ b/tests/phpunit/includes/libs/MWMessagePackTest.php @@ -13,7 +13,7 @@ class MWMessagePackTest extends MediaWikiTestCase { * using , which includes a * serialization function. */ - public function provider() { + public static function providePacks() { $tests = array( array( 'nil', null, 'c0' ), array( 'bool', true, 'c3' ), @@ -66,7 +66,7 @@ class MWMessagePackTest extends MediaWikiTestCase { /** * Verify that values are serialized correctly. * @covers MWMessagePack::pack - * @dataProvider provider + * @dataProvider providePacks */ public function testPack( $type, $value, $expected ) { $actual = bin2hex( MWMessagePack::pack( $value ) );