]> git.mxchange.org Git - friendica.git/commitdiff
Add output for installerTest
authornupplaPhil <admin@philipp.info>
Sat, 21 Dec 2019 23:36:29 +0000 (00:36 +0100)
committernupplaPhil <admin@philipp.info>
Sun, 29 Dec 2019 19:18:22 +0000 (20:18 +0100)
tests/src/Core/InstallerTest.php

index 674195c128878a550c7af1c28c4bacf2976aab45..f787e0ce5a58d908d800373e73729ad3b2fa46a0 100644 (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));
        }
 
        /**