mage-os / mageos-magento2

Work in progress.
Open Software License 3.0
213 stars 45 forks source link

[Integration Tests] Catalog Bundle products tests are failed #80

Closed vpodorozh closed 7 months ago

vpodorozh commented 9 months ago

Description

Catalog Bundle products tests are failed.
ref:

1) Magento\Bundle\Model\ProductTest::testIsSalable with data set "selectionQty: 5 qty: 0 isInStock: 0 manageStock: 1 backorders: 0" (5, 0, 0, true, 0, false)
Failed asserting that true matches expected false.
.....
22) Magento\Bundle\Model\ProductTest::testIsSalable with data set "selectionQty: 15 qty: 10 isInStock: 1 manageStock: 1 backorders: 0" (15, 10, 1, true, 0, false)
Failed asserting that true matches expected false.
.....
1) Magento\Bundle\Model\Product\IsSaleableTest::testIsSaleableOnBundleWithNotEnoughQtyOfSelection
Bundle product supposed to be non saleable if there are not enough qty of selections on required options
Failed asserting that true is false.

/var/www/html/dev/tests/integration/testsuite/Magento/Bundle/Model/Product/IsSaleableTest.php:229

Expected behavior

tests are passed

Benefits

No response

Additional information

No response

Release note

No response

vpodorozh commented 7 months ago

resolved in related PR