Merge branch '1.9'
* 1.9: Move test file parsing into try/catch block to avoid phpunit swallowing errorspull/8401/head
commit
0873c4099b
|
@ -283,15 +283,15 @@ class InstallerTest extends TestCase
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$testData = $this->readTestFile($file, $fixturesDir);
|
|
||||||
|
|
||||||
$installed = array();
|
|
||||||
$installedDev = array();
|
|
||||||
$lock = array();
|
|
||||||
$expectLock = array();
|
|
||||||
$expectResult = 0;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
$testData = $this->readTestFile($file, $fixturesDir);
|
||||||
|
|
||||||
|
$installed = array();
|
||||||
|
$installedDev = array();
|
||||||
|
$lock = array();
|
||||||
|
$expectLock = array();
|
||||||
|
$expectResult = 0;
|
||||||
|
|
||||||
$message = $testData['TEST'];
|
$message = $testData['TEST'];
|
||||||
$condition = !empty($testData['CONDITION']) ? $testData['CONDITION'] : null;
|
$condition = !empty($testData['CONDITION']) ? $testData['CONDITION'] : null;
|
||||||
$composer = JsonFile::parseJson($testData['COMPOSER']);
|
$composer = JsonFile::parseJson($testData['COMPOSER']);
|
||||||
|
|
Loading…
Reference in New Issue