Skip to content

Commit 503b89a

Browse files
author
Mateusz Krzeszowiak
committed
Fix tests
1 parent 3292638 commit 503b89a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/RequireJs/Test/Unit/ConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function ($file) {
137137
->willReturn(true);
138138

139139
$expected = <<<expected
140-
(function(){
140+
(function(require){
141141
(function() {
142142
file_one.js content
143143
require.config(config);
@@ -149,7 +149,7 @@ function ($file) {
149149
150150
151151
152-
})();
152+
})(require);
153153
expected;
154154

155155
$this->minifyAdapterMock

0 commit comments

Comments
 (0)