Skip to content

Commit 299a5d6

Browse files
committed
MAGETWO-88409: Builds stabilization for PR
1 parent 61719bd commit 299a5d6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dev/tests/setup-integration/testsuite/Magento/Setup/SafeInstallerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function testInstallation()
6969
);
7070
$this->cliCommad->upgrade(
7171
[
72-
'safe-mode' => '',
72+
'safe-mode' => true,
7373
]
7474
);
7575
//Move new db_schema.xml with restored title field
@@ -81,7 +81,7 @@ public function testInstallation()
8181
);
8282
$this->cliCommad->upgrade(
8383
[
84-
'data-restore' => '',
84+
'data-restore' => true,
8585
]
8686
);
8787
$testTableSelect = $adapter->select()->from($testTableName);

setup/src/Magento/Setup/Console/Command/InstallCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,13 @@ protected function configure()
191191
new InputOption(
192192
OperationsExecutor::KEY_SAFE_MODE,
193193
null,
194-
InputOption::VALUE_NONE,
194+
InputOption::VALUE_OPTIONAL,
195195
'Safe installation of Magento with dumps on destructive operations, like column removal'
196196
),
197197
new InputOption(
198198
OperationsExecutor::KEY_DATA_RESTORE,
199199
null,
200-
InputOption::VALUE_NONE,
200+
InputOption::VALUE_OPTIONAL,
201201
'Restore removed data from dumps'
202202
),
203203
new InputOption(

setup/src/Magento/Setup/Console/Command/UpgradeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ protected function configure()
8787
new InputOption(
8888
OperationsExecutor::KEY_SAFE_MODE,
8989
null,
90-
InputOption::VALUE_NONE,
90+
InputOption::VALUE_OPTIONAL,
9191
'Safe installation of Magento with dumps on destructive operations, like column removal'
9292
),
9393
new InputOption(
9494
OperationsExecutor::KEY_DATA_RESTORE,
9595
null,
96-
InputOption::VALUE_NONE,
96+
InputOption::VALUE_OPTIONAL,
9797
'Restore removed data from dumps'
9898
),
9999
new InputOption(

0 commit comments

Comments
 (0)