Skip to content

Commit e2db69d

Browse files
committed
MC-17764: Category A image replaced by uploading to Category B
1 parent 0cc141c commit e2db69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/ImageUploaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ protected function setUp()
4444
$this->imageUploader = $this->objectManager->create(
4545
\Magento\Catalog\Model\ImageUploader::class,
4646
[
47-
'baseTmpPath' => $this->mediaDirectory->getRelativePath('catalog/tmp/category'),
48-
'basePath' => $this->mediaDirectory->getRelativePath('catalog/category'),
47+
'baseTmpPath' => 'catalog/tmp/category',
48+
'basePath' => 'catalog/category',
4949
'allowedExtensions' => ['jpg', 'jpeg', 'gif', 'png'],
5050
'allowedMimeTypes' => ['image/jpg', 'image/jpeg', 'image/gif', 'image/png']
5151
]

0 commit comments

Comments
 (0)