1
0
Fork 0

Merge branch '1.9'

* 1.9:
  Move test file parsing into try/catch block to avoid phpunit swallowing errors
pull/8401/head
Nils Adermann 2019-10-29 23:09:53 +01:00
commit 0873c4099b
1 changed files with 8 additions and 8 deletions

View File

@ -283,6 +283,7 @@ class InstallerTest extends TestCase
continue;
}
try {
$testData = $this->readTestFile($file, $fixturesDir);
$installed = array();
@ -291,7 +292,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']);