You need to sign in to do that
Don't have an account?

Deployment process failures
HI Team, i have a class that implements shedulable and this class is used to send a mails,also i have test class for this shedulable,when we deploy from sandbox to prod getting error'System.unexpectedException:No more than one executeBatch can be called within a test method'.I came to know that shedule is invoking 2 times i.e in class and test class . my code was like this ex: eventreminderbatch erb=new eventreminderbatch(); String schr='0 17?2011-2012'; System.shedule('eventreminderbatch ',schr,erb); So how to resolve this issue during the deployment process pls let me know asap. Thanks!
Test method fails
http://boards.developerforce.com/t5/Apex-Code-Development/Test-method-fails/td-p/187332