X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FMWFunctionTest.php;h=f4d17999a0be81210f0a31526c1a5dae1eb3ba66;hb=b52e1fe2f7e578a118a74f85cf20e5906432f662;hp=f2a720e829eb47bcb099b91dfbf27faf059b8113;hpb=a36b3c44ed0a950efbd4e01557db6014701d71e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/MWFunctionTest.php b/tests/phpunit/includes/MWFunctionTest.php index f2a720e829..f4d17999a0 100644 --- a/tests/phpunit/includes/MWFunctionTest.php +++ b/tests/phpunit/includes/MWFunctionTest.php @@ -13,6 +13,7 @@ class MWFunctionTest extends MediaWikiTestCase { $args = array( $arg1, $arg2, $arg3, $arg4 ); $newObject = new MWBlankClass( $arg1, $arg2, $arg3, $arg4 ); + $this->hideDeprecated( 'MWFunction::newObj' ); $this->assertEquals( MWFunction::newObj( 'MWBlankClass', $args )->args, $newObject->args