Update declaration of UploadFromUrlTest::doApiRequest
[lhc/web/wiklou.git] / tests / phpunit / includes / XmlTest.php
index d26f3ec..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' );
        }
 
@@ -586,7 +586,7 @@ class XmlTest extends MediaWikiTestCase {
        }
 
        /**
-        * @covers Xml::testBuildTable
+        * @covers Xml::buildTable
         */
        public function testBuildTable() {
                $firstRow = [ 'foo', 'bar' ];
@@ -606,7 +606,7 @@ class XmlTest extends MediaWikiTestCase {
        }
 
        /**
-        * @covers Xml::testBuildTableRow
+        * @covers Xml::buildTableRow
         */
        public function testBuildTableRow() {
                $this->assertEquals(