X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Ftitle%2FTitleValueTest.php;h=d221b431a022dc1a44d6e7f16e95d9ea89ddb421;hp=f8335549f4b25542dbe655ce8ac64a3ca80fc5d8;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hpb=bc6ed2ba24a8691ad6d6cc321a43720bcfb770e2 diff --git a/tests/phpunit/includes/title/TitleValueTest.php b/tests/phpunit/includes/title/TitleValueTest.php index f8335549f4..d221b431a0 100644 --- a/tests/phpunit/includes/title/TitleValueTest.php +++ b/tests/phpunit/includes/title/TitleValueTest.php @@ -78,7 +78,7 @@ class TitleValueTest extends MediaWikiTestCase { * @dataProvider badConstructorProvider */ public function testConstructionErrors( $ns, $text, $fragment, $interwiki ) { - $this->setExpectedException( 'InvalidArgumentException' ); + $this->setExpectedException( InvalidArgumentException::class ); new TitleValue( $ns, $text, $fragment, $interwiki ); }