Skip to content

Commit 0f575bc

Browse files
author
larsroettig
committed
#18956 Fix for phpunit-test case
1 parent 144ea18 commit 0f575bc

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
@@ -177,8 +177,8 @@ private function createGroups(array $items, array $data)
177177
);
178178

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

184184
$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)