Add output for installerTest

This commit is contained in:
nupplaPhil 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) private function assertCheckExist($position, $title, $help, $status, $required, $assertionArray)
{ {
$this->assertArraySubset([$position => [ $subSet = [$position => [
'title' => $title, 'title' => $title,
'status' => $status, 'status' => $status,
'required' => $required, 'required' => $required,
'error_msg' => null, 'error_msg' => null,
'help' => $help] 'help' => $help]
], $assertionArray); ];
$this->assertArraySubset($subSet, $assertionArray, false, "expected subset: " . PHP_EOL . print_r($subSet, true) . PHP_EOL . "current subset: " . print_r($assertionArray, true));
} }
/** /**