X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fstructure%2FSpecialPageFatalTest.php;h=136611928beccca33f83b4888d16293aaacb8579;hb=6cfb2e3d7a2b96d5041312fcec88248bb46573d7;hp=026b903250367738aa5881335e7c542f37f81416;hpb=7621b57d958d0753236221227cbfb519d7faf192;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/structure/SpecialPageFatalTest.php b/tests/phpunit/structure/SpecialPageFatalTest.php index 026b903250..136611928b 100644 --- a/tests/phpunit/structure/SpecialPageFatalTest.php +++ b/tests/phpunit/structure/SpecialPageFatalTest.php @@ -11,7 +11,6 @@ use MediaWiki\MediaWikiServices; * * @since 1.32 * @author Addshore - * @coversNothing */ class SpecialPageFatalTest extends MediaWikiTestCase { public function provideSpecialPages() { @@ -31,7 +30,7 @@ class SpecialPageFatalTest extends MediaWikiTestCase { $user = User::newFromName( 'UTSysop' ); try { - $executor->executeSpecialPage( $page, '', null, null, $user ); + $executor->executeSpecialPage( $page, '', null, 'qqx', $user ); } catch ( \PHPUnit\Framework\Error\Deprecated $deprecated ) { // Allow deprecation, // this test want to check fatals or other things breaking the extension