X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fregistration%2FExtensionProcessorTest.php;h=4282652e1265e20b7388405d7f2e5058332597df;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hp=acf4710ffd0146a51d4dff537c66ec6c279e1344;hpb=5d422c4e55cd8dca9bb53c0ee683eefabebd9b88;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/registration/ExtensionProcessorTest.php b/tests/phpunit/includes/registration/ExtensionProcessorTest.php index acf4710ffd..4282652e12 100644 --- a/tests/phpunit/includes/registration/ExtensionProcessorTest.php +++ b/tests/phpunit/includes/registration/ExtensionProcessorTest.php @@ -332,7 +332,7 @@ class ExtensionProcessorTest extends MediaWikiTestCase { public function testExtractCredits() { $processor = new ExtensionProcessor(); $processor->extractInfo( $this->dir, self::$default, 1 ); - $this->setExpectedException( 'Exception' ); + $this->setExpectedException( Exception::class ); $processor->extractInfo( $this->dir, self::$default, 1 ); }