Skip to content

Commit 5962f63

Browse files
committed
MQE-526: Do not depend on xml merging by filename-order
- add new --force flag to robo command opts
1 parent 7b10cfa commit 5962f63

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dev/tests/acceptance/RoboFile.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@ function buildProject()
4343
* @param array $opts
4444
* @return void
4545
*/
46-
function generateTests($opts = ['config' => null])
46+
function generateTests($opts = ['config' => null, 'force' => false])
4747
{
48+
if ($opts['force'])
49+
{
50+
$GLOBALS['FORCE_PHP_GENERATE'] = true;
51+
}
52+
4853
require 'tests'. DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . '_bootstrap.php';
4954
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config']);
5055
$this->say("Generate Tests Command Run");

0 commit comments

Comments
 (0)