diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php index 315bc8d25..6d7835e46 100644 --- a/src/Composer/Command/CreateProjectCommand.php +++ b/src/Composer/Command/CreateProjectCommand.php @@ -12,6 +12,7 @@ namespace Composer\Command; +use Composer\Config; use Composer\Factory; use Composer\Installer; use Composer\Installer\ProjectInstaller; diff --git a/tests/Composer/Test/FunctionalTest.php b/tests/Composer/Test/AllFunctionalTest.php similarity index 97% rename from tests/Composer/Test/FunctionalTest.php rename to tests/Composer/Test/AllFunctionalTest.php index cbc8f2598..134bc8061 100644 --- a/tests/Composer/Test/FunctionalTest.php +++ b/tests/Composer/Test/AllFunctionalTest.php @@ -23,10 +23,10 @@ class AllFunctionalTest extends \PHPUnit_Framework_TestCase $exitcode = $proc->run(); if (isset($testData['EXPECT'])) { - $this->assertEquals($testData['EXPECT'], $this->cleanOutput($proc->getOutput())); + $this->assertEquals($testData['EXPECT'], $this->cleanOutput($proc->getOutput()), 'Error Output: '.$proc->getErrorOutput()); } if (isset($testData['EXPECT-REGEX'])) { - $this->assertRegExp($testData['EXPECT-REGEX'], $this->cleanOutput($proc->getOutput())); + $this->assertRegExp($testData['EXPECT-REGEX'], $this->cleanOutput($proc->getOutput()), 'Error Output: '.$proc->getErrorOutput()); } if (isset($testData['EXPECT-ERROR'])) { $this->assertEquals($testData['EXPECT-ERROR'], $this->cleanOutput($proc->getErrorOutput()));