Analyze Magento configuration.
Definition at line 17 of file Configuration.php.
◆ __construct()
__construct |
( |
ObjectManagerInterface |
$objectManager, |
|
|
State1 |
$state1 |
|
) |
| |
- Parameters
-
ObjectManagerInterface | $objectManager | |
State1 | $state1 | |
Definition at line 37 of file Configuration.php.
41 parent::__construct();
43 $this->state1 = $state1;
◆ configure()
Configure command.
- Returns
- void
Definition at line 51 of file Configuration.php.
54 $this->setName(
'troubleshooting:apply-magento-configuration')
55 ->setDescription(
'Apply proper Magento configuration to run functional tests.');
◆ execute()
execute |
( |
InputInterface |
$input, |
|
|
OutputInterface |
$output |
|
) |
| |
|
protected |
Execute command.
- Parameters
-
InputInterface | $input | |
OutputInterface | $output | |
- Returns
- void @SuppressWarnings(PHPMD.UnusedFormalParameter)
Definition at line 66 of file Configuration.php.
68 $output = $this->objectManager->create(
72 $output->writeln(
"Applying Magento configuration...");
73 $this->state1->apply();
75 [
'info' => [
'Magento configuration was updated in order to run functional tests without errors ' 76 .
'(disabled WYSIWYG, enabled admin account sharing etc.).']
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/functional/lib/Magento/Mtf/Troubleshooting/Configuration.php