Skip to content

Commit d026e02

Browse files
author
Prabhu Ram
committed
MC-31420: [GraphQL] Flat Rate shipping amount is returned as $10 instead of $5 for 1st configurable product in cart.
- fixed review comments
1 parent 33d5d9c commit d026e02

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/Quote/_files/add_configurable_product.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@
2222
/** @var CartRepositoryInterface $cartRepository */
2323
$cartRepository = Bootstrap::getObjectManager()->get(CartRepositoryInterface::class);
2424

25-
/** @var $attribute \Magento\Catalog\Model\ResourceModel\Eav\Attribute */
26-
2725
/** @var $product \Magento\Catalog\Model\Product */
28-
$productRepository = Bootstrap::getObjectManager()->create(ProductRepositoryInterface::class);
2926
$product = $productRepository->get('configurable');
30-
/* Create simple products per each option */
3127
/** @var $options \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\Collection */
3228
$options = Bootstrap::getObjectManager()->create(
3329
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\Collection::class

0 commit comments

Comments
 (0)