We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Received the following error when trying to deploy a child trigger for Partial Soft Credits
dlrs_npsp_Partial_Soft_CreditTrigger:Test coverage of selected Apex Trigger is 0%, at least 75% test coverage is required
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected the trigger to be deployed successfully
Screenshots
The text was updated successfully, but these errors were encountered:
Same here!
Sorry, something went wrong.
I encountered a similar (maybe same?) issue today when trying to deploy the child trigger for Campaign Member to Contact. Screenshot attached.
Error: dlrs_CampaignMemberTest.testTrigger System.DmlException: Insert failed. First exception on row 0; first error: MALFORMED_ID, Invalid campaign id: null: [CampaignId] (dlrs) Class.dlrs_CampaignMemberTest.testTrigger: line 11, column 1
Warning: dlrs_CampaignMemberTrigger:Test coverage of selected Apex Trigger is 0%, at least 75% test coverage is required
Messages Deployment complete. Click Deploy to install the Apex Trigger and Apex Class for this child object.
FYI I successfully deployed now. I followed instructions from Jon LaRosa in this Trailblazer community post: https://trailhead.salesforce.com/trailblazer-community/feed/0D53A000033V8LeSAK. I think the default code wasn't sufficient in this case, so adding some test code enabled it to work.
No branches or pull requests
Describe the bug
Received the following error when trying to deploy a child trigger for Partial Soft Credits
dlrs_npsp_Partial_Soft_CreditTrigger:Test coverage of selected Apex Trigger is 0%, at least 75% test coverage is required
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected the trigger to be deployed successfully
Screenshots
The text was updated successfully, but these errors were encountered: