Skip to content

Commit 0232087

Browse files
authored
MQE-1622: MFTF Console Printer does not correctly consider --steps
- Added constructor to Console class
1 parent 6a7a8d8 commit 0232087

File tree

1 file changed

+14
-0
lines changed
  • src/Magento/FunctionalTestingFramework/Codeception/Subscriber

1 file changed

+14
-0
lines changed

src/Magento/FunctionalTestingFramework/Codeception/Subscriber/Console.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@ class Console extends \Codeception\Subscriber\Console
3131
*/
3232
private $actionGroupStepKey = null;
3333

34+
/**
35+
* Console constructor. Parent constructor requires codeception CLI options, and does not have its own configs.
36+
* Constructor is only different than parent due to the way Codeception instantiates Extensions.
37+
*
38+
* @param array $extensionOptions
39+
* @param array $options
40+
*
41+
* @SuppressWarnings(PHPMD)
42+
*/
43+
public function __construct($extensionOptions = [], $options = [])
44+
{
45+
parent::__construct($options);
46+
}
47+
3448
/**
3549
* Printing stepKey in before step action.
3650
*

0 commit comments

Comments
 (0)