function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC TechSFDC Tech 

Issue when deploying using change set.

Hi,

I am actually trying to deploy few custom fields from sandbox to production using an existing deployment connection.
But when i deploy i am getting the following error message.

" " Your organization's code coverage is 0%. You need at least 75% coverage to complete this deployment. Also, the following triggers have 0% code coverage.       Each trigger must have atleast 1% code coverage"
      Update Account Details"    "


What causes this issue?
Should we rewrite/update the test class for the existing triggers?
shiv@SFDCshiv@SFDC
I think in your change set you are having 1 trigger also. which test class is not written. Trigger Name : Update Account Details .

Or test class for the trigger 'Update Account Details' is removed from the production.

Please mark answer as the solution if it helps you to resolve your issue.
Thanks !
 
SFDC TechSFDC Tech
I don't have any trigger in this change set.
And this trigger is a old one that already exists in the production org.

Thanks!