* @covers Xml::expandAttributes
*/
public function testExpandAttributesException() {
- $this->setExpectedException( 'MWException' );
+ $this->setExpectedException( MWException::class );
Xml::expandAttributes( 'string' );
}
}
/**
- * @covers Xml::testBuildTable
+ * @covers Xml::buildTable
*/
public function testBuildTable() {
$firstRow = [ 'foo', 'bar' ];
}
/**
- * @covers Xml::testBuildTableRow
+ * @covers Xml::buildTableRow
*/
public function testBuildTableRow() {
$this->assertEquals(