Skip to content

Commit 0cc141c

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public function testSaveFileToTmpDir()
8282
*/
8383
public function testMoveFileFromTmp()
8484
{
85-
$expectedFileName = 'magento_small_image_1.jpg';
86-
$expectedFilePath = $this->imageUploader->getBasePath() . DIRECTORY_SEPARATOR . $expectedFileName;
85+
$expectedFilePath = $this->imageUploader->getBasePath() . DIRECTORY_SEPARATOR . 'magento_small_image_1.jpg';
8786

8887
$this->assertFileNotExists($this->mediaDirectory->getAbsolutePath($expectedFilePath));
8988

0 commit comments

Comments
 (0)