Skip to content

Commit f010928

Browse files
committed
MAGETWO-48978: PR fixes
1 parent 684d946 commit f010928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup/src/Magento/Setup/Fixtures/StoresFixture.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ public function execute()
8888
$parentCategoryId = $defaultParentCategoryId;
8989
$categoryPath = '1/' . $defaultParentCategoryId;
9090
}
91+
$category->load($parentCategoryId);
9192

92-
$category->setId($parentCategoryId)
93-
->setName("Category $storeGroupName")
93+
$category->setName("Category $storeGroupName")
9494
->setPath($categoryPath)
9595
->setLevel(1)
9696
->setAvailableSortBy('name')

0 commit comments

Comments
 (0)