Add tests for ExtensionJsonValidator
[lhc/web/wiklou.git] / tests / phpunit / includes / TemplateParserTest.php
index 4a803e6..ccccf0f 100644 (file)
@@ -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 );
        }