Skip to content

Commit 1928132

Browse files
committed
ACP2E-84: Mass attribute update creates URL rewrite for wrong store
1 parent ee9bc14 commit 1928132

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,14 @@ public function testMakeProductVisibleViaMassAction()
163163
* Test for multistore properties of the product to be respected in generated UrlRewrites
164164
* during the mass update for visibility change
165165
*
166+
* phpcs:disable Generic.Files.LineLength.TooLong
166167
* @magentoDataFixture Magento\Store\Test\Fixture\Website as:w1
167168
* @magentoDataFixture Magento\Store\Test\Fixture\Store as:s1
168169
* @magentoDataFixture Magento\Store\Test\Fixture\Group as:g1 with:{"website_id": "$w1.id$", "default_store_id": "$s1.id$"}
169170
* @magentoDataFixture Magento\Catalog\Test\Fixture\Category as:c1
170171
* @magentoDataFixture Magento\Catalog\Test\Fixture\Product with:{"category_ids":["$c1.id$"], "visibility": "1", "extension_attributes": {"website_ids": [1, "$w1.id$"]}} as:p1
171172
* @magentoAppIsolation enabled
173+
* phpcs:enable Generic.Files.LineLength.TooLong
172174
*/
173175
public function testMassActionUrlRewriteForStore()
174176
{

0 commit comments

Comments
 (0)