Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 8677971

Browse files
committed
MAGETWO-93319: Parallelization update
1 parent bbedcd1 commit 8677971

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ public function testInstall()
267267
->method('setAreaCode')
268268
->with(\Magento\Framework\App\Area::AREA_GLOBAL);
269269
$moduleResource = $this->createMock(\Magento\Framework\Module\ModuleResource::class);
270+
$registry = $this->createMock(\Magento\Framework\Registry::class);
270271
$this->setupFactory->expects($this->atLeastOnce())->method('create')->willReturn($setup);
271272
$this->dataSetupFactory->expects($this->atLeastOnce())->method('create')->willReturn($dataSetup);
272273
$this->objectManager->expects($this->any())
@@ -281,7 +282,8 @@ public function testInstall()
281282
->will($this->returnValueMap([
282283
[\Magento\Framework\App\State::class, $appState],
283284
[\Magento\Framework\App\Cache\Manager::class, $cacheManager],
284-
[\Magento\Framework\Module\ModuleResource::class, [], $moduleResource]
285+
[\Magento\Framework\Module\ModuleResource::class, [], $moduleResource],
286+
[\Magento\Framework\Registry::class, $registry]
285287
]));
286288
$this->adminFactory->expects($this->once())->method('create')->willReturn(
287289
$this->createMock(\Magento\Setup\Model\AdminAccount::class)

0 commit comments

Comments
 (0)