X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTemplateParserTest.php;h=ccccf0f94904fd8c2d4dcde57e358c074844a022;hb=4ccb228bde9294d96d;hp=4a803e63745d84edffc041f96ee3d519d29ef59c;hpb=9a6b2a4fffb82840d0bf780eb4ecb873ad64fa54;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TemplateParserTest.php b/tests/phpunit/includes/TemplateParserTest.php index 4a803e6374..ccccf0f949 100644 --- a/tests/phpunit/includes/TemplateParserTest.php +++ b/tests/phpunit/includes/TemplateParserTest.php @@ -116,7 +116,7 @@ class TemplateParserTest extends MediaWikiTestCase { $this->assertEquals( 'rrr', $tp->processTemplate( 'recurse', $data ) ); $tp->enableRecursivePartials( false ); - $this->setExpectedException( 'Exception' ); + $this->setExpectedException( Exception::class ); $tp->processTemplate( 'recurse', $data ); }