Skip to content

Commit dc56d98

Browse files
committed
Fixed Unit Test Failure
1 parent 7657283 commit dc56d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogUrlRewrite/Model/ProductScopeRewriteGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function generateForGlobalScope($productCategories, Product $product, $ro
166166
} else {
167167
$scopedProduct = $this->productRepository->getById($productId, false, $id);
168168
$mergeDataProvider->merge(
169-
$this->generateForSpecificStoreView($id, $productCategories, $scopedProduct, $rootCategoryId)
169+
$this->generateForSpecificStoreView($id, $productCategories, $scopedProduct, $rootCategoryId, true)
170170
);
171171
}
172172
}

0 commit comments

Comments
 (0)