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
Rajiv B 3Rajiv B 3 

very urgent :::The following triggers have 0% code coverage. Each trigger must have at least 1% code coverage.

Hi, 
it is very urgency Requirment, not able to deploy trigger(before Update) through change sets. Code coverage for the trigger is 35% in uat. 
User-added image

I included trigger and Testclass in the changessets but throwing below error message while validating in the PRODUCTION
''The following triggers have 0% code coverage. Each trigger must have at least 1% code coverage."

 
User-added image


Thanks in advnce .. 
Wilfredo Morillo 20Wilfredo Morillo 20
Did you test in sandbox before deployment? 
Rajiv B 3Rajiv B 3
Hi Wilfreddo Morillo.
Yes i tested it .. it is working fine and code coverage is 35%
Wilfredo Morillo 20Wilfredo Morillo 20
your code needs to cover at least 75%, try editing the test class to evaluate a valid and invalid test. If you can show your code i could take a look. 

wil,