diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_functions.php b/tests/Composer/Test/Autoload/Fixtures/autoload_functions.php index 610b4aff1..f39eb8a33 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_functions.php +++ b/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; });