thephpleague / omnipay-sagepay

Sage Pay driver for the Omnipay PHP payment processing library
MIT License
54 stars 78 forks source link

Uncaught Error: Class 'Omnipay\Tests\GatewayTestCase' not found in D:\wamp64\www\omnipay-sagepay-master\tests\DirectGatewayTest.php #190

Open SM-Prasad opened 1 year ago

SM-Prasad commented 1 year ago

I have downloaded the zip file and tried to run omnipay-sagepay-master/tests/DirectGatewayTest.php file but gettign error Class 'Omnipay\Tests\GatewayTestCase' not found and file is not there. Could someone help me with this? Do I missed any file or what?

judgej commented 1 year ago

This package runs under composer. To run the tests, run composer install from the root of the package to pull in all the dependencies, then vendor/bin/phpunit.

You don't run the tests directly. It is phpunit that runs the tests.