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 e757c90 commit c7fd2f3Copy full SHA for c7fd2f3
dev/tests/acceptance/RoboFile.php
@@ -151,9 +151,12 @@ function generateTests(array $tests, $opts = [
151
*/
152
private function createTestConfiguration($tests, $opts)
153
{
154
- // set these globals as we only run this method during generation.
155
- $GLOBALS['GENERATE_TESTS'] = true;
156
- $GLOBALS['FORCE_PHP_GENERATE'] = $opts['force'];
+ // set our application configuration so we can references the user options in our framework
+ Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::create(
+ $opts['force'],
157
+ Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::GENERATION_PHASE,
158
+ $opts['verbose']
159
+ );
160
161
$testConfiguration = [];
162
$testConfiguration['tests'] = $tests;
0 commit comments