query: You have uncommitted work pending. Please commit or rollback before calling out error in test class
positive_passages.docid: 157747
positive_passages.text: Unit Test: You have uncommitted work pending. Please commit or rollback before calling out
negative_passages.docid: 79385
negative_passages.text: Rollback Committed transaction in SQL Server
negative_passages.docid: 7606
negative_passages.text: How do I unit test code that includes a callout?
negative_passages.docid: 132146
negative_passages.text: Response.Redirect and thread was being aborted error?
negative_passages.docid: 137950
negative_passages.text: How to test code built to save/restore Lifecycle of an Activity?
negative_passages.docid: 97429
negative_passages.text: What can cause "System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out"?
negative_passages.docid: 100269
negative_passages.text: apex test class is failing on run
negative_passages.docid: 3648
negative_passages.text: this class is not key value coding-compliant for the key XXXXXX
negative_passages.docid: 76570
negative_passages.text: Test Class Issue with UNKNOWN_EXCEPTION, portal account owner must have a role
negative_passages.docid: 49
negative_passages.text: What is a NullPointerException, and how do I fix it?
negative_passages.docid: 37852
negative_passages.text: How to handle UNABLE_LOCK_ROW errors when this is caused by a batch APEX job
negative_passages.docid: 29212
negative_passages.text: Error while updating debug log trace flag
negative_passages.docid: 96982
negative_passages.text: Uncommited work pending when callout in @Queuable,
negative_passages.docid: 142409
negative_passages.text: How to handle exception and execute remaining statements?
negative_passages.docid: 289
negative_passages.text: What is a NullReferenceException, and how do I fix it?
negative_passages.docid: 60123
negative_passages.text: System.CalloutException: You have uncommitted work pending
negative_passages.docid: 155356
negative_passages.text: Constructor not defined Error for test case