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

@ -73,7 +73,7 @@ class PluginInstallerTest extends TestCase
{
$loader = new JsonLoader(new ArrayLoader());
$this->packages = array();
$this->directory = $this->getUniqueTmpDirectory();
$this->directory = self::getUniqueTmpDirectory();
for ($i = 1; $i <= 8; $i++) {
$filename = '/Fixtures/plugin-v'.$i.'/composer.json';
mkdir(dirname($this->directory . $filename), 0777, true);