Class 'PHPUnit_Framework_TestCase' not found

Vidioo
Regular Visitor

Class 'PHPUnit_Framework_TestCase' not found

Fatal error: Class 'PHPUnit_Framework_TestCase' not found in D:\__GIT_Projects\VisaPayment\vdp-php\tests\visadirect\FundsTransferTest.php on line 5

 

Dawnload sample code from official site and install via composer then after run this code getting this kind of error.
any solution for this

4 REPLIES 4
vkamboj
Community Moderator

Re: Class 'PHPUnit_Framework_TestCase' not found

Hello @Vidioo

 

I am working on the inquiry, i will get back to you soon. 

 

Thank you, 

Vaibhav 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
vkamboj
Community Moderator

Re: Class 'PHPUnit_Framework_TestCase' not found

Hi @Vidioo

 

Did you check if the test file FundsTransferTest.php is present in that location?

 

Thank you, 

Vaibhav 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Vidioo
Regular Visitor

Re: Class 'PHPUnit_Framework_TestCase' not found

Thank You for your help, i will get back to you if i have any issues.

API_Products
Visa Developer Support Specialist

Re: Class 'PHPUnit_Framework_TestCase' not found

Hi @Vidioo,

 

Are you still experiencing an issue? If so, tTo further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.