function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nandhini S 3Nandhini S 3 

Test class for apex callout from a trigger

Hi Guys,

I would like to know to write a test class for a trigger which makes a callout.
Best Answer chosen by Nandhini S 3
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Nandhini,

Can you check the below example for test class .

https://developer.salesforce.com/forums/?id=9062I000000g3emQAA

If this solution helps, Please mark it as best answer.

Thanks,
 

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Nandhini,

Can you check the below example for test class .

https://developer.salesforce.com/forums/?id=9062I000000g3emQAA

If this solution helps, Please mark it as best answer.

Thanks,
 
This was selected as the best answer
Nandhini S 3Nandhini S 3
Thanks Praveen.