@@ -307,8 +307,9 @@ public function testInstall(array $request, array $logMessages)
307
307
$ dataSetup ->expects ($ this ->any ())->method ('getConnection ' )->willReturn ($ connection );
308
308
$ cacheManager = $ this ->createMock (\Magento \Framework \App \Cache \Manager::class);
309
309
$ cacheManager ->expects ($ this ->any ())->method ('getAvailableTypes ' )->willReturn (['foo ' , 'bar ' ]);
310
- $ cacheManager ->expects ($ this ->once ())->method ('setEnabled ' )->willReturn (['foo ' , 'bar ' ]);
311
- $ cacheManager ->expects ($ this ->any ())->method ('clean ' );
310
+ $ cacheManager ->expects ($ this ->exactly (3 ))->method ('setEnabled ' )->willReturn (['foo ' , 'bar ' ]);
311
+ $ cacheManager ->expects ($ this ->exactly (3 ))->method ('clean ' );
312
+ $ cacheManager ->expects ($ this ->exactly (3 ))->method ('getStatus ' )->willReturn ([]);
312
313
$ appState = $ this ->getMockBuilder (\Magento \Framework \App \State::class)
313
314
->disableOriginalConstructor ()
314
315
->disableArgumentCloning ()
@@ -410,15 +411,21 @@ public function installDataProvider()
410
411
['Installing user configuration... ' ],
411
412
['Enabling caches: ' ],
412
413
['Current status: ' ],
413
- ['' ],
414
+ [print_r ([], true ) ],
414
415
['Installing data... ' ],
415
416
['Data install/update: ' ],
417
+ ['Disabling caches: ' ],
418
+ ['Current status: ' ],
419
+ [print_r ([],true )],
416
420
['Module \'Foo_One \': ' ],
417
421
['Module \'Bar_Two \': ' ],
418
422
['Data post-updates: ' ],
419
423
['Module \'Foo_One \': ' ],
420
424
['Module \'Bar_Two \': ' ],
421
425
//['Installing admin user...'],
426
+ ['Enabling caches: ' ],
427
+ ['Current status: ' ],
428
+ [print_r ([],true )],
422
429
['Caches clearing: ' ],
423
430
['Cache cleared successfully ' ],
424
431
['Disabling Maintenance Mode: ' ],
@@ -456,14 +463,20 @@ public function installDataProvider()
456
463
['Installing user configuration... ' ],
457
464
['Enabling caches: ' ],
458
465
['Current status: ' ],
459
- ['' ],
466
+ [print_r ([], true ) ],
460
467
['Installing data... ' ],
461
468
['Data install/update: ' ],
469
+ ['Disabling caches: ' ],
470
+ ['Current status: ' ],
471
+ [print_r ([],true )],
462
472
['Module \'Foo_One \': ' ],
463
473
['Module \'Bar_Two \': ' ],
464
474
['Data post-updates: ' ],
465
475
['Module \'Foo_One \': ' ],
466
476
['Module \'Bar_Two \': ' ],
477
+ ['Enabling caches: ' ],
478
+ ['Current status: ' ],
479
+ [print_r ([],true )],
467
480
['Installing admin user... ' ],
468
481
['Caches clearing: ' ],
469
482
['Cache cleared successfully ' ],
0 commit comments