Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 5866a39

Browse files
larsroettiggelanivishal
larsroettig
authored andcommitted
#18956 Fix for phpunit-test case
1 parent acefdb3 commit 5866a39

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/code/Magento/Store/Model/Config/Importer/Processor/Create.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ private function createGroups(array $items, array $data)
176176
);
177177

178178
$group = $this->groupFactory->create();
179-
if (!isset($groupData['root_categry_id'])) {
180-
$groupData['root_categry_id'] = 0;
179+
if (!isset($groupData['root_category_id'])) {
180+
$groupData['root_category_id'] = 0;
181181
}
182182

183183
$group->setData($groupData);

app/code/Magento/Store/Test/Unit/Model/Config/Importer/Processor/CreateTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,6 @@ public function testRunGroup()
291291
$this->groupMock->expects($this->exactly(3))
292292
->method('getResource')
293293
->willReturn($this->abstractDbMock);
294-
$this->groupMock->expects($this->once())
295-
->method('setRootCategoryId')
296-
->with(0);
297294
$this->groupMock->expects($this->once())
298295
->method('getDefaultStoreId')
299296
->willReturn($defaultStoreId);

0 commit comments

Comments
 (0)