Skip to content

Commit 2d015fe

Browse files
committed
Merge remote-tracking branch 'origin/MC-36836' into 2.4-develop-pr40
2 parents 2a56343 + a7eadf4 commit 2d015fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/quote_with_configurable_product_last_variation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
$quote = $objectManager->create(\Magento\Quote\Model\Quote::class);
1515
/** @var ProductRepositoryInterface $productRepository */
1616
$productRepository = $objectManager->create(ProductRepositoryInterface::class);
17-
$product = $productRepository->getById(10);
17+
$product = $productRepository->get('simple_10');
1818
$product->setStockData(['use_config_manage_stock' => 1, 'qty' => 1, 'is_qty_decimal' => 0, 'is_in_stock' => 1]);
1919
$productRepository->save($product);
2020

21-
$product = $productRepository->getById(20);
21+
$product = $productRepository->get('simple_20');
2222
$product->setStockData(['use_config_manage_stock' => 1, 'qty' => 0, 'is_qty_decimal' => 0, 'is_in_stock' => 0]);
2323
$productRepository->save($product);
2424

0 commit comments

Comments
 (0)