Skip to content

Why I am getting error “SetupTestCase not found” while running integration test failure?

I am trying to run an integration test on my local machine as follows: ../../../vendor/bin/phpunit –filter ‘testInstallWithCodeBaseRollback’ ../../../dev/tests/setup-integration/testsuite/Magento/Setup/DeclarativeInstallerTest.php But Always it is returning with the below error: PHP Fatal error: Uncaught Error: Class “MagentoTestFrameworkTestCaseSetupTestCase” not found in /opt/homebrew/var/www/pr/35174/dev/tests/setup-integration/testsuite/Magento/Setup/DeclarativeInstallerTest.php:22 Even though… Read More »Why I am getting error “SetupTestCase not found” while running integration test failure?

Magento 2.4.4, Product count in layered navigation is incorrect after setting “Display Out of Stock Products” to “Yes”

Magento 2.4.4, Product count in layered navigation is incorrect after setting “Display Out of Stock Products” to “Yes”. (STORES->Configuration->CATALOG->Inventory->Display Out of Stock Products) Any idea why this happening? Should show the correct product count in layered navigation after setting “Display… Read More »Magento 2.4.4, Product count in layered navigation is incorrect after setting “Display Out of Stock Products” to “Yes”