X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fmaintenance%2FDumpTestCase.php;h=58cb6f3902288a0fb9095ee5ee223feb1c1926a5;hb=8bd192cefc98af487cf68b81ae093d9af6d0be4e;hp=1d55ab8434f0a088825e139bffd980266794718f;hpb=089612544da3abd89476f41476abc78b0cd98e98;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/maintenance/DumpTestCase.php b/tests/phpunit/maintenance/DumpTestCase.php index 1d55ab8434..58cb6f3902 100644 --- a/tests/phpunit/maintenance/DumpTestCase.php +++ b/tests/phpunit/maintenance/DumpTestCase.php @@ -35,7 +35,7 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { */ protected function checkHasGzip() { if ( self::$hasGzip === null ) { - self::$hasGzip = ( Installer::locateExecutableInDefaultPaths( 'gzip' ) !== false ); + self::$hasGzip = ( ExecutableFinder::findInDefaultPaths( 'gzip' ) !== false ); } if ( !self::$hasGzip ) { @@ -298,7 +298,6 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { * @param string $name Title of the current page */ protected function assertPageStart( $id, $ns, $name ) { - $this->assertNodeStart( "page" ); $this->skipWhitespace(); @@ -393,7 +392,6 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { if ( ( $this->xml->nodeType == XMLReader::END_ELEMENT ) && ( $this->xml->name == "text" ) ) { - $this->xml->read(); } $this->skipWhitespace();