Skip to content

Commit 9badfbd

Browse files
committed
MAGETWO-95539: [2.3] Moving Category generate duplicate url_rewrite when 4th level category exist and is translated
- Fixed url rewrites regeneration after category moving
1 parent a474116 commit 9badfbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/functional/tests/app/Magento/UrlRewrite/Test/TestCase/CategoryUrlRewriteTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function test(Store $storeView, Category $childCategory, Category $parent
8585
$this->catalogCategoryEdit->getFormPageActions()->selectStoreView($storeView->getName());
8686
$this->catalogCategoryEdit->getEditForm()->fill($categoryUpdates);
8787
$this->catalogCategoryEdit->getFormPageActions()->save();
88+
$this->catalogCategoryEdit->getFormPageActions()->selectStoreView('All Store Views');
8889
$this->catalogCategoryIndex->getTreeCategories()->assignCategory(
8990
$parentCategory->getName(),
9091
$childCategory->getName()

0 commit comments

Comments
 (0)