Skip to content

Commit 262280d

Browse files
MC-30236: Upgrade from 2.3.x CE with SD to 2.3.x EE AreaCode Exception
- fix unit test
1 parent 4d5f033 commit 262280d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup/src/Magento/Setup/Test/Unit/Model/InstallerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function testInstall(array $request, array $logMessages)
309309
$cacheManager->expects($this->any())->method('getAvailableTypes')->willReturn(['foo', 'bar']);
310310
$cacheManager->expects($this->exactly(3))->method('setEnabled')->willReturn(['foo', 'bar']);
311311
$cacheManager->expects($this->exactly(3))->method('clean');
312-
$cacheManager->expects($this->exactly(3))->method('getStatus')->willReturn([]);
312+
$cacheManager->expects($this->exactly(3))->method('getStatus')->willReturn(['foo' => 1, 'bar' => 1]);
313313
$appState = $this->getMockBuilder(\Magento\Framework\App\State::class)
314314
->disableOriginalConstructor()
315315
->disableArgumentCloning()
@@ -412,7 +412,7 @@ public function installDataProvider()
412412
['Installing user configuration...'],
413413
['Enabling caches:'],
414414
['Current status:'],
415-
[print_r([], true)],
415+
[print_r(['foo' => 1, 'bar' => 1], true)],
416416
['Installing data...'],
417417
['Data install/update:'],
418418
['Disabling caches:'],
@@ -463,7 +463,7 @@ public function installDataProvider()
463463
['Installing user configuration...'],
464464
['Enabling caches:'],
465465
['Current status:'],
466-
[print_r([], true)],
466+
[print_r(['foo' => 1, 'bar' => 1], true)],
467467
['Installing data...'],
468468
['Data install/update:'],
469469
['Disabling caches:'],

0 commit comments

Comments
 (0)