| test | seconds | history |
|---|
Magento.Bundle.Model.ResourceModel.Indexer.PriceTest::testBundleDynamicPriceWhenShowOutOfStockIsDisableddetailsdeterministic 9.29s Magento\Bundle\Model\ResourceModel\Indexer\PriceTest::testBundleDynamicPriceWhenShowOutOfStockIsDisabled
TypeError: array_intersect_key(): Argument #2 must be of type array, null given
/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/Bundle/Model/ResourceModel/Indexer/PriceTest.php:157
/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/Bundle/Model/ResourceModel/Indexer/PriceTest.php:84 /srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/Bundle/Model/ResourceModel/Indexer/PriceTest.php:80–104 <?php
DataFixture(BundleProductFixture::class, ['_options' => ['$opt2_1$', '$opt2_2$']], 'bundle2'),
]
public function testBundleDynamicPriceWhenShowOutOfStockIsDisabled(): void
{
$this->assertPriceData([
// bundle1: required option1 (product1) + required option2 (product2, product3)
// bundle1 is in stock: product3 is out of stock, but product2 is in stock in option2
// expected: the price range includes only available selections
'bundle1' => [
'min_price' => 13,
'max_price' => 13
],
// bundle2: required option1 (product1) + required option2 (product3, product4)
// bundle2 is out of stock: both product3 and product4 are out of stock
// expected: no price data
'bundle2' => null
]);
}
#[
DbIsolation(false),
Config('cataloginventory/options/show_out_of_stock', 1, 'store'),
DataFixture(ProductFixture::class, ['price' => 10], 'product1'),
DataFixture(ProductFixture::class, ['price' => 3], 'product2'),
DataFixture(ProductFixture::class, ['price' => 5, 'stock_item' => ['qty' => 0]], 'product3'),
| 9.29 | |
| Magento.Bundle.Model.ResourceModel.Indexer.PriceTest::testBundleDynamicPriceWhenShowOutOfStockIsEnabled | 6.69 | |
| Magento.Bundle.Model.ResourceModel.Indexer.PriceTest::testExecuteForBundleWithoutWebsites | 0.33 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexAll | 4.28 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #0 | 2.47 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #1 | 1.70 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #2 | 1.80 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #3 | 1.68 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #4 | 1.13 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #5 | 1.22 | |
| Magento.Bundle.Model.ResourceModel.Indexer.StockTest::testReindexRow with data set #6 | 1.55 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #0 | 12.25 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #1 | 12.13 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #2 | 15.46 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #3 | 17.74 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #4 | 16.32 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #5 | 15.88 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #6 | 17.04 | |
| Magento.Bundle.Model.ResourceModel.Option.AreBundleOptionsSalableTest::testExecute with data set #7 | 18.42 | |
| Magento.Bundle.Model.ResourceModel.Selection.CollectionTest::testAddPriceDataWithIndexerDimensionMode with data set "Dynamic bundle product with three Simple products" | 8.86 | |