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
|
@ -148,7 +148,7 @@ class ClassMapGeneratorTest extends TestCase
|
|||
{
|
||||
$this->checkIfFinderIsAvailable();
|
||||
|
||||
$tempDir = $this->getUniqueTmpDirectory();
|
||||
$tempDir = self::getUniqueTmpDirectory();
|
||||
$this->ensureDirectoryExistsAndClear($tempDir . '/other');
|
||||
|
||||
$finder = new Finder();
|
||||
|
@ -190,7 +190,7 @@ class ClassMapGeneratorTest extends TestCase
|
|||
*/
|
||||
public function testUnambiguousReference(): void
|
||||
{
|
||||
$tempDir = $this->getUniqueTmpDirectory();
|
||||
$tempDir = self::getUniqueTmpDirectory();
|
||||
|
||||
file_put_contents($tempDir . '/A.php', "<?php\nclass A {}");
|
||||
file_put_contents(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue