소스 검색

Reuse main classloader

Jordi Boggiano 13 년 전
부모
커밋
812bf9a2af
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      tests/bootstrap.php

+ 1 - 3
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();