Fix tests
parent
122f66098e
commit
5b419c76ca
|
@ -12,6 +12,7 @@
|
|||
|
||||
namespace Composer\Command;
|
||||
|
||||
use Composer\Config;
|
||||
use Composer\Factory;
|
||||
use Composer\Installer;
|
||||
use Composer\Installer\ProjectInstaller;
|
||||
|
|
|
@ -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()));
|
Loading…
Reference in New Issue