Skip to content

Commit 2f8764a

Browse files
committed
MC-17765: Category A image replaced by uploading to Category B
1 parent c5b32c8 commit 2f8764a

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
@@ -47,8 +47,8 @@ protected function setUp()
4747
$this->imageUploader = $this->objectManager->create(
4848
\Magento\Catalog\Model\ImageUploader::class,
4949
[
50-
'baseTmpPath' => $this->mediaDirectory->getRelativePath('catalog/tmp/category'),
51-
'basePath' => $this->mediaDirectory->getRelativePath('catalog/category'),
50+
'baseTmpPath' => 'catalog/tmp/category',
51+
'basePath' => 'catalog/category',
5252
'allowedExtensions' => ['jpg', 'jpeg', 'gif', 'png'],
5353
'allowedMimeTypes' => ['image/jpg', 'image/jpeg', 'image/gif', 'image/png']
5454
]

0 commit comments

Comments
 (0)