You need to sign in to do that
Don't have an account?
Etienne Gaudry 5
Test Event EndDateTime
Hi, i need to create event on lead for a test apex.
The EndDateTime (or activityDate) of this event need to be past.
I have create a lead and event on this lead but i can't choose a negative EndDateTime.
How can i do ?
It's possible to set a date time on Start Test for launch the test in the futur? Ty
All Answers
Ty Alain, your code work !
i hadn't used DateTime, and Test.setCreatedDate :)