Skip to content

Commit ad13021

Browse files
Fix unit tests
1 parent b0296e8 commit ad13021

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Deploy/Test/Unit/Service/DeployStaticContentTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testDeploy($options, $expectedContentVersion)
103103
$package->expects($this->never())->method('getTheme');
104104
$package->expects($this->never())->method('getLocale');
105105
} else {
106-
$package->expects($this->exactly(1))->method('isVirtual')->willReturn(false);
106+
$package->expects($this->exactly(2))->method('isVirtual')->willReturn(false);
107107
$package->expects($this->exactly(3))->method('getArea')->willReturn('area');
108108
$package->expects($this->exactly(3))->method('getTheme')->willReturn('theme');
109109
$package->expects($this->exactly(3))->method('getLocale')->willReturn('locale');
@@ -198,6 +198,7 @@ public function deployDataProvider()
198198
[
199199
'strategy' => 'compact',
200200
'no-javascript' => false,
201+
'no-js-bundle' => false,
201202
'no-html-minify' => false,
202203
'refresh-content-version-only' => false,
203204
],
@@ -207,6 +208,7 @@ public function deployDataProvider()
207208
[
208209
'strategy' => 'compact',
209210
'no-javascript' => false,
211+
'no-js-bundle' => false,
210212
'no-html-minify' => false,
211213
'refresh-content-version-only' => false,
212214
'content-version' => '123456',
@@ -231,6 +233,7 @@ public function testMaxExecutionTimeOptionPassed()
231233
DeployStaticOptions::JOBS_AMOUNT => 3,
232234
DeployStaticOptions::STRATEGY => 'compact',
233235
DeployStaticOptions::NO_JAVASCRIPT => true,
236+
DeployStaticOptions::NO_JS_BUNLDE => true,
234237
DeployStaticOptions::NO_HTML_MINIFY => true,
235238
];
236239

0 commit comments

Comments
 (0)