Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sharicarlson13 authored Sep 28, 2024
1 parent b08405a commit 83959f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Issues/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ You can confirm this by checking out the record's Attachments related list on a

Apex Text Classes run through what the code should be doing to "test" and make sure everything in the code is working as expected. They have other purposes as well, but that's enough to give context to what you need to do to resolve the issue.

You need to add a custom test method to successfully delpoy the CampaignChild Trigger. Basically, it adds creating a Campaign record in the test class (because Campaigns are required to create Campaign Members and thus are needed in the test.)
You need to add a custom test method to successfully delpoy the CampaignChild Trigger. Basically, it adds creating a Campaign record and a test contact in the test class (because Campaigns and Contacts are required to create Campaign Members and thus are needed in the test.)

**Steps to resolve:**
In the Advanced section of edit page, you'll find the Test Code (child) field. Copy and paste the following into that box and try to redeploy.
Expand Down

0 comments on commit 83959f2

Please sign in to comment.