Add output for installerTest

This commit is contained in:
Philipp Holzer 2019-12-22 00:36:29 +01:00
parent 9cb48b0e12
commit e428bccefb
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -73,13 +73,15 @@ class InstallerTest extends MockedTest
private function assertCheckExist($position, $title, $help, $status, $required, $assertionArray)
{
$this->assertArraySubset([$position => [
$subSet = [$position => [
'title' => $title,
'status' => $status,
'required' => $required,
'error_msg' => null,
'help' => $help]
], $assertionArray);
];
$this->assertArraySubset($subSet, $assertionArray, false, "expected subset: " . PHP_EOL . print_r($subSet, true) . PHP_EOL . "current subset: " . print_r($assertionArray, true));
}
/**