X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=blobdiff_plain;f=tests%2Fphpunit%2Fstructure%2FAutoLoaderTest.php;h=d45a58c5d38c7c78db1a362053c4303b792cdbad;hb=036f5b47efc99b56e9e841c8ebdfec7d3e197f83;hp=d81e8c663d87d15a08d31831575ea64ddc67a726;hpb=6ad363a177c2fb8ca77e889f7328ef0d90650422;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/structure/AutoLoaderTest.php b/tests/phpunit/structure/AutoLoaderTest.php index d81e8c663d..d45a58c5d3 100644 --- a/tests/phpunit/structure/AutoLoaderTest.php +++ b/tests/phpunit/structure/AutoLoaderTest.php @@ -161,6 +161,7 @@ class AutoLoaderTest extends MediaWikiTestCase { $path = realpath( __DIR__ . '/../../..' ); $oldAutoload = file_get_contents( $path . '/autoload.php' ); $generator = new AutoloadGenerator( $path, 'local' ); + $generator->setExcludePaths( array_values( AutoLoader::getAutoloadNamespaces() ) ); $generator->initMediaWikiDefault(); $newAutoload = $generator->getAutoload( 'maintenance/generateLocalAutoload.php' );