Fix putenv to avoid leaving the environment in a dirty state
parent
94dce37424
commit
fb93036a70
|
@ -288,7 +288,7 @@ class EventDispatcherTest extends TestCase
|
||||||
rmdir(__DIR__ . sprintf('%svendor', DIRECTORY_SEPARATOR));
|
rmdir(__DIR__ . sprintf('%svendor', DIRECTORY_SEPARATOR));
|
||||||
|
|
||||||
chdir($currentDirectoryBkp);
|
chdir($currentDirectoryBkp);
|
||||||
putenv('COMPOSER_BIN_DIR=' . $composerBinDirBkp);
|
putenv('COMPOSER_BIN_DIR' . ($composerBinDirBkp === false ? '' : '=' . $composerBinDirBkp));
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function createsVendorBinFolderChecksEnvDoesNotContainsBin()
|
static public function createsVendorBinFolderChecksEnvDoesNotContainsBin()
|
||||||
|
|
Loading…
Reference in New Issue