File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
dev/tests/unit/testsuite/Magento/Indexer/Model Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -175,12 +175,20 @@ public function testRunException($args)
175
175
}
176
176
if ($ args == 'reindexall ' ) {
177
177
$ indexerMock ->expects ($ this ->any ())->method ('reindexAll ' )->will (
178
- $ this ->throwException (new \Magento \Framework \Exception \LocalizedException (__ ('' )))
178
+ $ this ->throwException (
179
+ new \Magento \Framework \Exception \LocalizedException (
180
+ __ ('Something went wrong during reindexing all. ' )
181
+ )
182
+ )
179
183
);
180
184
}
181
185
if ($ args == '--mode-schedule ' ) {
182
186
$ indexerMock ->expects ($ this ->any ())->method ('turnViewOn ' )->will (
183
- $ this ->throwException (new \Magento \Framework \Exception \LocalizedException (__ ('' )))
187
+ $ this ->throwException (
188
+ new \Magento \Framework \Exception \LocalizedException (
189
+ __ ('Something went wrong during turning view on. ' )
190
+ )
191
+ )
184
192
);
185
193
}
186
194
if ($ args == '--reindex=price ' ) {
You can’t perform that action at this time.
0 commit comments