1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add command testing utilities to TestCase, add tests for ConfigCommand

This commit is contained in:
Jordi Boggiano 2022-05-11 16:05:35 +02:00
parent ebfdae8883
commit fdab6657c7
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
35 changed files with 253 additions and 73 deletions

View file

@ -53,8 +53,8 @@ class VcsRepositoryTest extends TestCase
}
$oldCwd = Platform::getCwd();
self::$composerHome = $this->getUniqueTmpDirectory();
self::$gitRepo = $this->getUniqueTmpDirectory();
self::$composerHome = self::getUniqueTmpDirectory();
self::$gitRepo = self::getUniqueTmpDirectory();
if (!@chdir(self::$gitRepo)) {
$this->skipped = 'Could not move into the temp git repo '.self::$gitRepo;