Skip to content

Commit 729cedf

Browse files
committed
Using Command output as message which actually provides more information for debugging than just the path
1 parent c9f2797 commit 729cedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/ComposerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private function validateComposerJsonFile($path)
103103
try {
104104
$app->runComposerCommand(['command' => 'validate'], $path);
105105
} catch (\RuntimeException $exception) {
106-
$this->fail("Failed validation of {$path}");
106+
$this->fail($exception->getMessage());
107107
}
108108
}
109109

0 commit comments

Comments
 (0)