jamesward/salesforce-webhook-creator

Apex Test Failures

leevigraham opened this issue · 2 comments

Hi,

I'm trying to create a Outgoing Change Set and when I run the Apex tests for the webhook class I get the following:

System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out Stack Trace: Class.Webhook.callout: line 31, column 1

screen shot 2016-12-06 at 2 03 48 am

Any ideas?

Sorry about the problem. I tried to reproduce this and couldn't. What events does your trigger fire on? Do you have other triggers on Lead?