We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33c7218 + 980bd1f commit 5261393Copy full SHA for 5261393
dev/tests/static/testsuite/Magento/Test/Integrity/ComposerTest.php
@@ -99,7 +99,12 @@ private function validateComposerJsonFile($path)
99
/** @var \Magento\Framework\Composer\MagentoComposerApplicationFactory $appFactory */
100
$appFactory = self::$objectManager->get(\Magento\Framework\Composer\MagentoComposerApplicationFactory::class);
101
$app = $appFactory->create();
102
- $app->runComposerCommand(['command' => 'validate'], $path);
+
103
+ try {
104
+ $app->runComposerCommand(['command' => 'validate'], $path);
105
+ } catch (\RuntimeException $exception) {
106
+ $this->fail($exception->getMessage());
107
+ }
108
}
109
110
/**
0 commit comments