--- ../tests/bootstrap.php	2025-08-30 23:30:45.412629470 +0300
+++ ../tests/bootstrap.php	2025-08-30 23:31:12.963195281 +0300
@@ -21,8 +21,7 @@
 require __DIR__.'/../src/bootstrap.php';
 // ensure we always use the latest InstalledVersions.php even if an older composer ran the install, but we need
 // to have it included from vendor dir and not from src/ otherwise some gated check in the code will not work
-copy(__DIR__.'/../src/Composer/InstalledVersions.php', __DIR__.'/../vendor/composer/InstalledVersions.php');
-require __DIR__.'/../vendor/composer/InstalledVersions.php';
+require __DIR__.'/../src/Composer/InstalledVersions.php';
 
 Platform::putEnv('COMPOSER_TESTS_ARE_RUNNING', '1');
 
