omnipay-sagepay icon indicating copy to clipboard operation
omnipay-sagepay copied to clipboard

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

Open SM-Prasad opened this issue 3 years ago • 1 comments
trafficstars

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?

SM-Prasad avatar Oct 21 '22 11:10 SM-Prasad

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.

judgej avatar Oct 21 '22 12:10 judgej