Skip to content

Commit 91ef188

Browse files
committed
#57: Debug flag exists in robo generate:tests to print action sequence of test steps
1 parent 8c8a771 commit 91ef188

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

RoboFile.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
use Magento\FunctionalTestingFramework\Test\Parsers\TestDataParser;
76

87
/** This is project's console commands configuration for Robo task runner.
98
*
@@ -52,12 +51,10 @@ function generateTests($opts = ['config' => null, 'force' => true, 'nodes' => nu
5251
{
5352
$GLOBALS['FORCE_PHP_GENERATE'] = true;
5453
}
55-
56-
$output = $this->getOutput() ?? null;
5754

5855
require 'dev' . DIRECTORY_SEPARATOR . 'tests'. DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . '_bootstrap.php';
5956
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()
60-
->createAllTestFiles($opts['config'], $opts['nodes'], $opts['debug'], $output);
57+
->createAllTestFiles($opts['config'], $opts['nodes'], $opts['debug'], $this->getOutput());
6158
$this->say("Generate Tests Command Run");
6259
}
6360

0 commit comments

Comments
 (0)