adyen-magento2
adyen-magento2 copied to clipboard
Tests error
Describe the bug
When launching tests : PHP Fatal error: Uncaught Error: Class "Adyen\Payment\Tests\Unit\AbstractAdyenTestCase" not found in /var/www/html/vendor/adyen/module-payment/Test/Unit/Helper/AddressTest.php:20
To Reproduce
php -dmemory_limit=-1 vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist
Expected behavior
No errors.
Additional informations
All tests have a namespace starting with Adyen\Payment\Tests
, but are in folder Test
without s
Magento version 2.4.5
Plugin version 8.6.0
Hi @Nuranto,
Thanks for opening this issue. For further information, could you try to run the tests using the same command that is being used in the RUN Phpunit
step, in this github action?
Thanks, Jean Adyen
Hi @Morerice
Testing the extension individually surely works with those parameters, since your CI passes. It's running phpunit for the whole magento project that doesn't work.