Fix Magento\Quote\Model\QuoteTest::testAddProductUpdateItem
Open
Bug
Progress: dev in progress
Progress: good first issue
- Dominant language
- PHP
- Stars
- 357
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
Integration test `\Magento\Quote\Model\QuoteTest::testAddProductUpdateItem` failed as expected error message is `We don't have as many "Simple Product" as you requested.` but MSI implementation returns `The requested qty is not available` (see `\Magento\InventorySales\Model\IsProductSalableForRequestedQtyCondition\IsSalableWithReservationsCondition::execute`).
MSI contains temporal fix with removed expected exception message that should be ported to mainline or replaced with a more appropriate solution.
Contributor guide
Assessment
This issue has not been assessed yet.