File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
dev/tests/setup-integration/testsuite/Magento/Setup
setup/src/Magento/Setup/Console/Command Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function testInstallation()
69
69
);
70
70
$ this ->cliCommad ->upgrade (
71
71
[
72
- 'safe-mode ' => '' ,
72
+ 'safe-mode ' => true ,
73
73
]
74
74
);
75
75
//Move new db_schema.xml with restored title field
@@ -81,7 +81,7 @@ public function testInstallation()
81
81
);
82
82
$ this ->cliCommad ->upgrade (
83
83
[
84
- 'data-restore ' => '' ,
84
+ 'data-restore ' => true ,
85
85
]
86
86
);
87
87
$ testTableSelect = $ adapter ->select ()->from ($ testTableName );
Original file line number Diff line number Diff line change @@ -191,13 +191,13 @@ protected function configure()
191
191
new InputOption (
192
192
OperationsExecutor::KEY_SAFE_MODE ,
193
193
null ,
194
- InputOption::VALUE_NONE ,
194
+ InputOption::VALUE_OPTIONAL ,
195
195
'Safe installation of Magento with dumps on destructive operations, like column removal '
196
196
),
197
197
new InputOption (
198
198
OperationsExecutor::KEY_DATA_RESTORE ,
199
199
null ,
200
- InputOption::VALUE_NONE ,
200
+ InputOption::VALUE_OPTIONAL ,
201
201
'Restore removed data from dumps '
202
202
),
203
203
new InputOption (
Original file line number Diff line number Diff line change @@ -87,13 +87,13 @@ protected function configure()
87
87
new InputOption (
88
88
OperationsExecutor::KEY_SAFE_MODE ,
89
89
null ,
90
- InputOption::VALUE_NONE ,
90
+ InputOption::VALUE_OPTIONAL ,
91
91
'Safe installation of Magento with dumps on destructive operations, like column removal '
92
92
),
93
93
new InputOption (
94
94
OperationsExecutor::KEY_DATA_RESTORE ,
95
95
null ,
96
- InputOption::VALUE_NONE ,
96
+ InputOption::VALUE_OPTIONAL ,
97
97
'Restore removed data from dumps '
98
98
),
99
99
new InputOption (
You can’t perform that action at this time.
0 commit comments