1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +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

@ -35,8 +35,8 @@ class FilesystemTest extends TestCase
public function setUp(): void
{
$this->fs = new Filesystem;
$this->workingDir = $this->getUniqueTmpDirectory();
$this->testFile = $this->getUniqueTmpDirectory() . '/composer_test_file';
$this->workingDir = self::getUniqueTmpDirectory();
$this->testFile = self::getUniqueTmpDirectory() . '/composer_test_file';
}
protected function tearDown(): void