Refactor some Installer code into ExecutableFinder
[lhc/web/wiklou.git] / tests / phpunit / maintenance / DumpTestCase.php
index 99bd427..58cb6f3 100644 (file)
@@ -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 ) {