You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/tests/integration/testsuite/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteSavingObserverTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ public function testUrlKeyHasChangedInGlobalContext()
90
90
91
91
$product->setData('save_rewrites_history', true);
92
92
$product->setUrlKey('new-url');
93
+
$product->setUrlPath('new-path');
93
94
$product->save();
94
95
95
96
$expected = [
@@ -152,6 +153,7 @@ public function testUrlKeyHasChangedInStoreviewContextWithPermanentRedirection()
152
153
153
154
$product->setData('save_rewrites_history', true);
154
155
$product->setUrlKey('new-url');
156
+
$product->setUrlPath('new-path');
155
157
$product->save();
156
158
157
159
$expected = [
@@ -207,6 +209,7 @@ public function testUrlKeyHasChangedInStoreviewContextWithoutPermanentRedirectio
0 commit comments