Преглед на файлове

update tests for new expectations.

Taylor Otwell преди 12 години
родител
ревизия
8cf43868da
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      tests/Composer/Test/Autoload/Fixtures/autoload_functions.php

+ 2 - 2
tests/Composer/Test/Autoload/Fixtures/autoload_functions.php

@@ -21,8 +21,8 @@ return call_user_func(function() {
 
     $loader->register();
 
-    require __DIR__ . '/a/a/test.php';
-    require __DIR__ . '/b/b/test2.php';
+    require $vendorDir . '/a/a/test.php';
+    require $vendorDir . '/b/b/test2.php';
 
     return $loader;
 });