File tree 2 files changed +7
-3
lines changed
src/Magento/FunctionalTestingFramework
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 28
28
if (array_key_exists ('MAGENTO_BP ' , $ _ENV )) {
29
29
// TODO REMOVE THIS CODE ONCE WE HAVE STOPPED SUPPORTING dev/tests/acceptance PATH
30
30
// define TEST_PATH and TEST_MODULE_PATH
31
- defined ('TESTS_BP ' ) || define ('TESTS_BP ' , realpath (MAGENTO_BP . DIRECTORY_SEPARATOR . 'dev/tests/acceptance/ ' ));
32
-
33
- $ RELATIVE_TESTS_MODULE_PATH = '/tests/functional/Magento/FunctionalTest ' ;
31
+ // defined('TESTS_BP') || define('TESTS_BP', realpath(MAGENTO_BP . DIRECTORY_SEPARATOR . 'dev/tests/acceptance/'));
32
+ defined ( ' TESTS_BP ' ) || define ( ' TESTS_BP ' , dirname ( dirname ( __DIR__ )));
33
+ $ RELATIVE_TESTS_MODULE_PATH = '/tests/functional/tests/MFTF ' ;
34
34
defined ('TESTS_MODULE_PATH ' ) || define (
35
35
'TESTS_MODULE_PATH ' ,
36
36
realpath (TESTS_BP . $ RELATIVE_TESTS_MODULE_PATH )
Original file line number Diff line number Diff line change 32
32
defined ($ key ) || define ($ key , $ var );
33
33
}
34
34
35
+ if (array_key_exists ('MAGENTO_BP ' , $ _ENV )) {
36
+ defined ('TESTS_BP ' ) || define ('TESTS_BP ' , realpath (PROJECT_ROOT . DIRECTORY_SEPARATOR . 'dev/tests/acceptance ' ));
37
+ }
38
+
35
39
defined ('MAGENTO_CLI_COMMAND_PATH ' ) || define (
36
40
'MAGENTO_CLI_COMMAND_PATH ' ,
37
41
'dev/tests/acceptance/utils/command.php '
You can’t perform that action at this time.
0 commit comments