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:
parent
ebfdae8883
commit
fdab6657c7
35 changed files with 253 additions and 73 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue