Skip to content

Commit 9771049

Browse files
committed
AC-9883: Fix Catalog System Config
1 parent a8222e4 commit 9771049

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Config/Test/Unit/Model/Config/Backend

1 file changed

+3
-3
lines changed

app/code/Magento/Config/Test/Unit/Model/Config/Backend/FileTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)