Merge "Add SPARQL client to core"
[lhc/web/wiklou.git] / tests / phpunit / includes / XmlTest.php
index 4a280da..e46fc67 100644 (file)
@@ -55,7 +55,7 @@ class XmlTest extends MediaWikiTestCase {
         * @covers Xml::expandAttributes
         */
        public function testExpandAttributesException() {
-               $this->setExpectedException( 'MWException' );
+               $this->setExpectedException( MWException::class );
                Xml::expandAttributes( 'string' );
        }