@@ -271,7 +271,7 @@ public function testExecuteFailedThemeInUseCheck()
271
271
->willReturn (['frontend/Magento/a is in use in default config ' ]);
272
272
$ this ->tester ->execute (['theme ' => ['frontend/Magento/a ' ]]);
273
273
$ this ->assertEquals (
274
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL
274
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL
275
275
. 'frontend/Magento/a is in use in default config ' . PHP_EOL ,
276
276
$ this ->tester ->getDisplay ()
277
277
);
@@ -324,44 +324,48 @@ public function executeFailedChildThemeCheckDataProvider()
324
324
true ,
325
325
false ,
326
326
['theme ' => ['frontend/Magento/a ' ]],
327
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL
328
- . 'frontend/Magento/a is a parent of virtual theme '
327
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL
328
+ . 'frontend/Magento/a is a parent of virtual theme. Parent themes cannot be uninstalled. '
329
329
],
330
330
[
331
331
true ,
332
332
false ,
333
333
['theme ' => ['frontend/Magento/a ' , 'frontend/Magento/b ' ]],
334
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL .
335
- 'frontend/Magento/a, frontend/Magento/b are parents of virtual theme '
334
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL .
335
+ 'frontend/Magento/a, frontend/Magento/b are parents of virtual theme. '
336
+ . ' Parent themes cannot be uninstalled. '
336
337
],
337
338
[
338
339
false ,
339
340
true ,
340
341
['theme ' => ['frontend/Magento/a ' ]],
341
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL .
342
- 'frontend/Magento/a is a parent of physical theme '
342
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL .
343
+ 'frontend/Magento/a is a parent of physical theme. Parent themes cannot be uninstalled. '
343
344
],
344
345
[
345
346
false ,
346
347
true ,
347
348
['theme ' => ['frontend/Magento/a ' , 'frontend/Magento/b ' ]],
348
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL .
349
- 'frontend/Magento/a, frontend/Magento/b are parents of physical theme '
349
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL .
350
+ 'frontend/Magento/a, frontend/Magento/b are parents of physical theme. '
351
+ . ' Parent themes cannot be uninstalled. '
350
352
],
351
353
[
352
354
true ,
353
355
true ,
354
356
['theme ' => ['frontend/Magento/a ' ]],
355
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL .
356
- 'frontend/Magento/a is a parent of virtual theme ' . PHP_EOL .
357
- 'frontend/Magento/a is a parent of physical theme '
357
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL .
358
+ 'frontend/Magento/a is a parent of virtual theme. Parent themes cannot be uninstalled. ' . PHP_EOL .
359
+ 'frontend/Magento/a is a parent of physical theme. Parent themes cannot be uninstalled. '
358
360
],
359
361
[
360
362
true ,
361
363
true ,
362
364
['theme ' => ['frontend/Magento/a ' , 'frontend/Magento/b ' ]],
363
- 'frontend/Magento/a, frontend/Magento/b are parents of virtual theme ' . PHP_EOL .
364
- 'frontend/Magento/a, frontend/Magento/b are parents of physical theme '
365
+ 'frontend/Magento/a, frontend/Magento/b are parents of virtual theme. '
366
+ . ' Parent themes cannot be uninstalled. ' . PHP_EOL .
367
+ 'frontend/Magento/a, frontend/Magento/b are parents of physical theme. '
368
+ . ' Parent themes cannot be uninstalled. '
365
369
],
366
370
];
367
371
}
@@ -376,8 +380,8 @@ public function testExecuteFailedDependencyCheck()
376
380
->willReturn (['magento/theme-a ' => ['magento/theme-b ' , 'magento/theme-c ' ]]);
377
381
$ this ->tester ->execute (['theme ' => ['frontend/Magento/a ' ]]);
378
382
$ this ->assertContains (
379
- 'Unable to uninstall. Please fix the following issues: ' . PHP_EOL .
380
- 'frontend/Magento/a has the following package(s) depend on it : '
383
+ 'Unable to uninstall. Please resolve the following issues: ' . PHP_EOL .
384
+ 'frontend/Magento/a has the following dependent package(s): '
381
385
. PHP_EOL . "\tmagento/theme-b " . PHP_EOL . "\tmagento/theme-c " ,
382
386
$ this ->tester ->getDisplay ()
383
387
);
0 commit comments