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

Test class for Trigger which calls @future method


How to write a test class for trigger which calls @future method

for eg.
trigger AccountCallout on Account (after insert) {
for (Account a : {
Iqrar AhmedIqrar Ahmed
Hi sfdc 18,

Try this
Hi Cloud Rocky, Shaijan,

I tried link provided by Cloud Rocky.
I get below error 
Methods defined as TestMethod do not support Web service callouts, test skipped