Visa Developer Community

Helper

Uncaught Error: Class 'PHPUnit\Framework\TestCase' not found

Hi,

 

I'm getting the error as per below.

 

Fatal error: Uncaught Error: Class 'PHPUnit\Framework\TestCase' not found in C:\xampp\htdocs\visa_card_eligibility_service\visa_card_eligibility_service\test\Model\CardBenefitsInnerTest.php:42 Stack trace: #0 {main} thrown in C:\xampp\htdocs\visa_card_eligibility_service\visa_card_eligibility_service\test\Model\CardBenefitsInnerTest.php on line 42

1 REPLY 1
Highlighted
Visa Dev Moderator

Re: Uncaught Error: Class 'PHPUnit\Framework\TestCase' not found

Hey @hakim,

 

I'd like to help you resolve the issue you're experiencing. To do so, 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.

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

Thanks,
Diana