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()
152152 ->willReturn ($ this ->uploaderMock );
153153 $ this ->uploaderMock ->expects ($ this ->once ())
154154 ->method ('save ' )
155- ->with ($ uploadDir . '/ ' . $ scope . '/ ' . $ scopeId )
155+ ->with ($ uploadDir . '/ ' . $ scope . '/ ' . $ scopeId, null )
156156 ->willReturn ($ result );
157157
158158 $ this ->assertEquals ($ this ->model , $ this ->model ->beforeSave ());
@@ -197,7 +197,7 @@ public function testBeforeWithoutRequest()
197197 ->willReturn ($ this ->uploaderMock );
198198 $ this ->uploaderMock ->expects ($ this ->once ())
199199 ->method ('save ' )
200- ->with ($ uploadDir )
200+ ->with ($ uploadDir, null )
201201 ->willReturn ($ result );
202202
203203 $ this ->assertEquals ($ this ->model , $ this ->model ->beforeSave ());
@@ -300,7 +300,7 @@ public function testBeforeSaveWithException()
300300 ->willReturn ($ this ->uploaderMock );
301301 $ this ->uploaderMock ->expects ($ this ->once ())
302302 ->method ('save ' )
303- ->with ($ uploadDir )
303+ ->with ($ uploadDir, null )
304304 ->willThrowException (new \Exception ($ exception ));
305305
306306 $ this ->model ->beforeSave ();
You can’t perform that action at this time.
0 commit comments