Skip to content

Commit c5b32c8

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

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
@@ -88,8 +88,7 @@ public function testSaveFileToTmpDir(): void
8888
*/
8989
public function testMoveFileFromTmp(): void
9090
{
91-
$expectedFileName = 'magento_small_image_1.jpg';
92-
$expectedFilePath = $this->imageUploader->getBasePath() . DIRECTORY_SEPARATOR . $expectedFileName;
91+
$expectedFilePath = $this->imageUploader->getBasePath() . DIRECTORY_SEPARATOR . 'magento_small_image_1.jpg';
9392

9493
$this->assertFileNotExists($this->mediaDirectory->getAbsolutePath($expectedFilePath));
9594

0 commit comments

Comments
 (0)