Skip to content

Commit 972b8c0

Browse files
committed
MAGETWO-88409: Builds stabilization for PR
- units
1 parent 3a15b23 commit 972b8c0

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

setup/src/Magento/Setup/Test/Unit/Console/Command/UpgradeCommandTest.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ public function executeDataProvider()
114114
'convert_old_scripts' => false,
115115
'magento-init-params' => '',
116116
'safe-mode' => false,
117-
'data-restore' => false
117+
'data-restore' => false,
118+
'dry-run' => false,
118119
]
119120
],
120121
[
@@ -130,7 +131,8 @@ public function executeDataProvider()
130131
'convert_old_scripts' => false,
131132
'magento-init-params' => '',
132133
'safe-mode' => false,
133-
'data-restore' => false
134+
'data-restore' => false,
135+
'dry-run' => false,
134136
]
135137
],
136138
[
@@ -142,7 +144,8 @@ public function executeDataProvider()
142144
'convert_old_scripts' => false,
143145
'magento-init-params' => '',
144146
'safe-mode' => false,
145-
'data-restore' => false
147+
'data-restore' => false,
148+
'dry-run' => false,
146149
]
147150
],
148151
[
@@ -154,7 +157,8 @@ public function executeDataProvider()
154157
'convert_old_scripts' => false,
155158
'magento-init-params' => '',
156159
'safe-mode' => false,
157-
'data-restore' => false
160+
'data-restore' => false,
161+
'dry-run' => false,
158162
]
159163
],
160164
];

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ public function testInstall()
345345
->method('get')
346346
->will($this->returnValueMap([
347347
[\Magento\Framework\App\State::class, $appState],
348-
[\Magento\Framework\App\Cache\Manager::class, $cacheManager]
348+
[\Magento\Framework\App\Cache\Manager::class, $cacheManager],
349+
[\Magento\Setup\Model\DeclarationInstaller::class, $this->declarationInstallerMock]
349350
]));
350351
$this->adminFactory->expects($this->once())->method('create')->willReturn(
351352
$this->createMock(\Magento\Setup\Model\AdminAccount::class)

0 commit comments

Comments
 (0)