diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 71240f469..b2743bb41 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -10,8 +10,6 @@ * file that was distributed with this source code. */ -require __DIR__.'/../vendor/.composer/autoload.php'; - -$loader = new Composer\Autoload\ClassLoader(); +$loader = require __DIR__.'/../vendor/.composer/autoload.php'; $loader->add('Composer\Test', __DIR__); $loader->register();