Skip to content

Commit a070fae

Browse files
committed
MQE-1040: MFTF standalone commands do not pass down constants correctly
- Changed define to add defined
1 parent 1e3e5e5 commit a070fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/_bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
// define framework basepath for schema pathing
9-
define('FW_BP', realpath(__DIR__ . '/../../../'));
9+
defined('FW_BP') || define('FW_BP', realpath(__DIR__ . '/../../../'));
1010
// get the root path of the project
1111
$projectRootPath = substr(FW_BP, 0, strpos(FW_BP, DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR));
1212
if (empty($projectRootPath)) {

0 commit comments

Comments
 (0)