diff --git a/InventoryAdminUi/Test/Mftf/Test/AdminAddConfigurableProductWithDropDownAttributeWithNewSourceTest.xml b/InventoryAdminUi/Test/Mftf/Test/AdminAddConfigurableProductWithDropDownAttributeWithNewSourceTest.xml index ee1d36c1264..1c6094e1268 100644 --- a/InventoryAdminUi/Test/Mftf/Test/AdminAddConfigurableProductWithDropDownAttributeWithNewSourceTest.xml +++ b/InventoryAdminUi/Test/Mftf/Test/AdminAddConfigurableProductWithDropDownAttributeWithNewSourceTest.xml @@ -55,7 +55,8 @@ - + + diff --git a/InventoryIndexer/Test/Integration/Model/Queue/UpdateIndexSalabilityStatusTest.php b/InventoryIndexer/Test/Integration/Model/Queue/UpdateIndexSalabilityStatusTest.php index 2af0843b48e..ba22151349c 100644 --- a/InventoryIndexer/Test/Integration/Model/Queue/UpdateIndexSalabilityStatusTest.php +++ b/InventoryIndexer/Test/Integration/Model/Queue/UpdateIndexSalabilityStatusTest.php @@ -37,6 +37,7 @@ use Magento\TestFramework\Fixture\DataFixtureStorageManager; use Magento\TestFramework\Fixture\DbIsolation; use Magento\TestFramework\Helper\Bootstrap; +use Magento\TestFramework\MessageQueue\ClearQueueProcessor; use PHPUnit\Framework\TestCase; class UpdateIndexSalabilityStatusTest extends TestCase @@ -56,6 +57,18 @@ class UpdateIndexSalabilityStatusTest extends TestCase */ private $getStockItemData; + /** + * @var ClearQueueProcessor + */ + private static $clearQueueProcessor; + + public static function setUpBeforeClass(): void + { + $objectManager = Bootstrap::getObjectManager(); + self::$clearQueueProcessor = $objectManager->get(ClearQueueProcessor::class); + self::$clearQueueProcessor->execute('inventory.reservations.updateSalabilityStatus'); + } + protected function setUp(): void { $this->fixtures = DataFixtureStorageManager::getStorage(); @@ -97,7 +110,6 @@ protected function setUp(): void ] public function testProductsStatusesAfterBuyingChildProduct(): void { - $this->markTestSkipped("AC-10695"); /** @var StockInterface $stock */ $stock = $this->fixtures->get('stock2'); @@ -145,7 +157,6 @@ public function testProductsStatusesAfterBuyingChildProduct(): void ] public function testProductsStatusesAfterBuyingBundleProduct(): void { - $this->markTestSkipped("AC-10695"); /** @var StockInterface $stock */ $stock = $this->fixtures->get('stock2');