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.
1 parent 1198b27 commit 97e682dCopy full SHA for 97e682d
src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php
@@ -564,6 +564,10 @@ private function array2Json(array $array)
564
if (isset($_ENV['MAGENTO_BP'])) {
565
$testDependencyFileLocation = self::TEST_DEPENDENCY_FILE_LOCATION_STANDALONE;
566
}
567
+ $testDependencyFileLocationDir = dirname($testDependencyFileLocation);
568
+ if (!is_dir($testDependencyFileLocationDir)) {
569
+ mkdir($testDependencyFileLocationDir, 0777, true);
570
+ }
571
$file = fopen($testDependencyFileLocation, 'w');
572
$json = json_encode($array, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT);
573
fwrite($file, $json);
0 commit comments