• Alexandre Bouhier
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hello,

when we execute test methods for one class (and only one class, no problem for others), we're getting this error:
Internal Salesforce Error: 20878693-139583 (-1872511937) (-1872511937)
Stack Trace: null
This error occurs only on production instance, not on sandbox. I don't know how to fix that, anyone can help?
Thanks!
Hello,

when we execute test methods for one class (and only one class, no problem for others), we're getting this error:
Internal Salesforce Error: 20878693-139583 (-1872511937) (-1872511937)
Stack Trace: null
This error occurs only on production instance, not on sandbox. I don't know how to fix that, anyone can help?
Thanks!

So is there any way to use HTTPmock methods when writing test methods for a Batch Class?

 

I have put the test.setMock inside the test.startTest

 

There is NO DML going on either in the batch, the setup for the test or the mock interface....

 

I always get the you have uncommitted work pending when the callout is initiated by the execute method of the batch class....

 

 

  • September 21, 2013
  • Like
  • 0