Skip to content

Commit 6734ccd

Browse files
committed
MC-31551: Category images are broken after migrating to 2.3.4
- added Web API test fix on assertion
1 parent 1469299 commit 6734ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/CategoryListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ public function testCategoryImageName()
416416
$this->assertArrayNotHasKey('errors', $response);
417417
$this->assertNotEmpty($response['categoryList']);
418418
$expectedImageUrl = str_replace('index.php/', '', $expectedImageUrl);
419-
$categoryList[0]['name'] = str_replace('index.php/', '', $categoryList[0]['name']);
419+
$categoryList[0]['image'] = str_replace('index.php/', '', $categoryList[0]['image']);
420420
$this->assertEquals('Parent Image Category', $categoryList[0]['name']);
421421
$this->assertEquals($expectedImageUrl, $categoryList[0]['image']);
422422
}

0 commit comments

Comments
 (0)