Failure Due to Expected
Opened this issue · 5 comments
Hi James,
Love what you built. It's allowed us to keep data in sync for one of our most important projects.
I'm now trying to set up an additional (similar) webhook call out, but for whatever reason, i'm getting this error. It seems like the code is expecting the webhook address I used earlier, and is failing as a result
Any idea how I can avoid this?
System.AssertException: Assertion Failed: Expected: https://vt9wy02642.execute-api.us-west-2.amazonaws.com/prod/webhook?id=21173308-ab26-47ba-9d21-307c29ff5ab0&action=pull, Actual: https://vt9wy02642.execute-api.us-west-2.amazonaws.com/prod/webhook?id=b40404f9-87d8-406a-b700-e1051f27254b&action=pullStack Trace:
Class.LoveCareGSPullWebhookTriggerTest.testTrigger: line 71, column 1
Where are you getting this error?
I'm guessing that the TriggerTest didn't get overwritten correctly. Can you manually delete that Apex class and then re-create the Webhook?
Only the Trigger and the Trigger test have the url hard coded in them (by the webhook creator). Check you check the Apex code for those classes and see what is in them for the url?