Skip to content

Commit 3a172d6

Browse files
committed
36394: Fix failure integration tests
1 parent 936be8c commit 3a172d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/CatalogUrlRewrite/Observer/CategoryUrlPathAutogeneratorObserverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function testChildrenUrlPathContainsParentCustomScopeUrlKey()
105105
[
106106
'parent_id' => $category1->getId(),
107107
'name' => 'Category 2',
108-
'url_key' => null,
108+
'url_key' => 'category-2',
109109
'is_active' => true
110110
]
111111
);
@@ -114,7 +114,7 @@ public function testChildrenUrlPathContainsParentCustomScopeUrlKey()
114114
$this->storeManager->setCurrentStore($secondStore);
115115

116116
$category2 = $this->categoryRepository->get($category2->getId());
117-
$category2->setUrlKey(null);
117+
$category2->setUrlKey('category-2');
118118
$this->categoryRepository->save($category2);
119119

120120
$this->storeManager->setCurrentStore(StoreModel::DEFAULT_STORE_ID);

0 commit comments

Comments
 (0)