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 7b3aca1 commit 37d16ccCopy full SHA for 37d16cc
src/Magento/FunctionalTestingFramework/Console/StaticChecksCommand.php
@@ -191,7 +191,12 @@ private function validateTestNames($requiredChecksNames)
191
*/
192
private function parseRulesetJson()
193
{
194
- $pathToRuleset = TESTS_BP . DIRECTORY_SEPARATOR . "staticRuleset.json";
+ $pathAddition = "/dev/tests/acceptance/";
195
+ // MFTF is both NOT attached and no MAGENTO_BP defined in .env
196
+ if (MAGENTO_BP === FW_BP) {
197
+ $pathAddition = "/dev/";
198
+ }
199
+ $pathToRuleset = MAGENTO_BP . $pathAddition . "staticRuleset.json";
200
if (!file_exists($pathToRuleset)) {
201
$this->ioStyle->text("No ruleset under $pathToRuleset" . PHP_EOL);
202
return;
0 commit comments