+ Start a Discussion

How do you setup test methods for @future methods?


I have a trigger that launches a delete on a child/detail object based on an appropriate update to the master object.  This will often entail more than 100 records hence the use of the @future method. 


The tests are failing on the path that uses the @future method.


Any Help?




Unfortunetly don't have a solution for you other than try to setup up your test method to update less than 100 records but please vote for this idea as it is the main issue.