Skip to content

PhpUnit error Class QametaAllurePHPUnitAllureExtension does not have a constructor, so you cannot pass any constructor arguments

I am getting the below error while running PHPUnit command in Magento 2

Class QametaAllurePHPUnitAllureExtension does not have a constructor, so you cannot pass any constructor arguments

How to fix this?