I have copy and pasted the sample code from this project https://trailhead.salesforce.com/content/learn/modules/change-data-capture/test-the-change-event-trigger?trailmix_creator_id=strailhead&trailmix_slug=architect-integration-architecture
But I'm getting the error
Method does not exist or incorrect signature: void enableChangeDataCapture() from the type test
I have literally not changed anything from the sample code and have successfully completed the preceding steps in the project, so am a bit confused.
답변 8개
Thank you for clarifying Vinay Singh (Deloitte). That was indeed my problem. I had an empty test class and once I removed it, the test class compiled on the original org. Thanks!