Move test file parsing into try/catch block to avoid phpunit swallowing errors
parent
99e23d5263
commit
6a335a459c
|
@ -280,6 +280,7 @@ class InstallerTest extends TestCase
|
|||
continue;
|
||||
}
|
||||
|
||||
try {
|
||||
$testData = $this->readTestFile($file, $fixturesDir);
|
||||
|
||||
$installed = array();
|
||||
|
@ -288,7 +289,6 @@ class InstallerTest extends TestCase
|
|||
$expectLock = array();
|
||||
$expectResult = 0;
|
||||
|
||||
try {
|
||||
$message = $testData['TEST'];
|
||||
$condition = !empty($testData['CONDITION']) ? $testData['CONDITION'] : null;
|
||||
$composer = JsonFile::parseJson($testData['COMPOSER']);
|
||||
|
|
Loading…
Reference in New Issue