Skip to content

Commit 0ec1f75

Browse files
committed
ACP2E-1237: Product reviews from different stores all show in one store when using graphql
1 parent 1ecd588 commit 0ec1f75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Review/GetProductReviewsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public function testProductReviewRatings()
157157
/** @var ProductRepositoryInterface $productRepository */
158158
$productRepository = ObjectManager::getInstance()->get(ProductRepositoryInterface::class);
159159
$product = $productRepository->get($productSku, false, null, true);
160+
// phpcs:ignore
160161
$summaryFactory = ObjectManager::getInstance()->get(SummaryFactory::class);
161162
$storeId = ObjectManager::getInstance()->get(StoreManagerInterface::class)->getStore()->getId();
162163
$summary = $summaryFactory->create()->setStoreId($storeId)->load($product->getId());

0 commit comments

Comments
 (0)