Fix tests
parent
122f66098e
commit
5b419c76ca
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
namespace Composer\Command;
|
namespace Composer\Command;
|
||||||
|
|
||||||
|
use Composer\Config;
|
||||||
use Composer\Factory;
|
use Composer\Factory;
|
||||||
use Composer\Installer;
|
use Composer\Installer;
|
||||||
use Composer\Installer\ProjectInstaller;
|
use Composer\Installer\ProjectInstaller;
|
||||||
|
|
|
@ -23,10 +23,10 @@ class AllFunctionalTest extends \PHPUnit_Framework_TestCase
|
||||||
$exitcode = $proc->run();
|
$exitcode = $proc->run();
|
||||||
|
|
||||||
if (isset($testData['EXPECT'])) {
|
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'])) {
|
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'])) {
|
if (isset($testData['EXPECT-ERROR'])) {
|
||||||
$this->assertEquals($testData['EXPECT-ERROR'], $this->cleanOutput($proc->getErrorOutput()));
|
$this->assertEquals($testData['EXPECT-ERROR'], $this->cleanOutput($proc->getErrorOutput()));
|
Loading…
Reference in New Issue