Skip to content

Commit 904a067

Browse files
committed
MTO-121: [Variation] Move Anchored Category with Products (cron is ON, "Update on Save")
- Defects fixed
1 parent 0186e72 commit 904a067

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Category/MoveCategoryEntityTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,8 @@ public function test(
107107
);
108108
$this->catalogCategoryEdit->getModalBlock()->acceptWarning();
109109

110-
if ($newCategory != null) {
111-
$childCategory = $newCategory;
112-
}
113-
114110
return [
115-
'category' => $childCategory,
111+
'category' => $newCategory,
116112
'parentCategory' => $parentCategory,
117113
'childCategory' => $childCategory,
118114
];

0 commit comments

Comments
 (0)