You need to sign in to do that
Don't have an account?
asadim2
You have uncommitted work pending. Please commit or rollback before calling out
Hi!
This is really annoying me now. I am unable to deploy my code into our client org because of the above error from a test class that tests webservices. HOWEVER, the tests pass when I run them individually as well as when I run all Apex tests!
Any ideas what's going on?!
Take a look here:
http://boards.developerforce.com/t5/Apex-Code-Development/Testing-Webservice-Callouts-with-Winter-13-Test-setMock-fails/m-p/531257#messageview_3
All Answers
Take a look here:
http://boards.developerforce.com/t5/Apex-Code-Development/Testing-Webservice-Callouts-with-Winter-13-Test-setMock-fails/m-p/531257#messageview_3
I am unable to comprehend this bug. But it worked. Thanks!