File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Config/Test/Unit/Model/Config/Backend Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public function testBeforeSave()
152
152
->willReturn ($ this ->uploaderMock );
153
153
$ this ->uploaderMock ->expects ($ this ->once ())
154
154
->method ('save ' )
155
- ->with ($ uploadDir . '/ ' . $ scope . '/ ' . $ scopeId )
155
+ ->with ($ uploadDir . '/ ' . $ scope . '/ ' . $ scopeId, null )
156
156
->willReturn ($ result );
157
157
158
158
$ this ->assertEquals ($ this ->model , $ this ->model ->beforeSave ());
@@ -197,7 +197,7 @@ public function testBeforeWithoutRequest()
197
197
->willReturn ($ this ->uploaderMock );
198
198
$ this ->uploaderMock ->expects ($ this ->once ())
199
199
->method ('save ' )
200
- ->with ($ uploadDir )
200
+ ->with ($ uploadDir, null )
201
201
->willReturn ($ result );
202
202
203
203
$ this ->assertEquals ($ this ->model , $ this ->model ->beforeSave ());
@@ -300,7 +300,7 @@ public function testBeforeSaveWithException()
300
300
->willReturn ($ this ->uploaderMock );
301
301
$ this ->uploaderMock ->expects ($ this ->once ())
302
302
->method ('save ' )
303
- ->with ($ uploadDir )
303
+ ->with ($ uploadDir, null )
304
304
->willThrowException (new \Exception ($ exception ));
305
305
306
306
$ this ->model ->beforeSave ();
You can’t perform that action at this time.
0 commit comments