Skip to content

Commit d0d8316

Browse files
committed
ACP2E-2093: Issue when uploading image with the same name while deleting the old image
- Fixed the CR comments.
1 parent c39007b commit d0d8316

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Product/Image/ConvertImageMiscParamsToReadableFormatTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,15 @@ public function testConvertImageMiscParamsToReadableFormat(array $data): void
3535
{
3636
$this->assertEquals(
3737
$data['expectedMiscParamsWithArray'],
38-
$this->model->convertImageMiscParamsToReadableFormat($data['convertImageParamsToReadableFormatWithArray'])
38+
$this->model->convertImageMiscParamsToReadableFormat(
39+
$data['convertImageParamsToReadableFormatWithArray']
40+
)
3941
);
4042
$this->assertEquals(
4143
$data['expectedMiscParamsWithOutArray'],
42-
$this->model->convertImageMiscParamsToReadableFormat($data['convertImageParamsToReadableFormatWithOutArray'])
44+
$this->model->convertImageMiscParamsToReadableFormat(
45+
$data['convertImageParamsToReadableFormatWithOutArray']
46+
)
4347
);
4448
}
4549

0 commit comments

Comments
 (0)