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
ariella nothariella noth 

Trying to deactivate Apex Trigger. Cant push it through change set because of test class

Trying to deactivate an Apex Trigger. Some test classes with poor coverage are making it so I can not push it through into production. All I have in the change set is the apex trigger that I am trying to deactivate. Help? 
NagendraNagendra (Salesforce Developers) 
Hi Noth,

Sorry for this you are encountering.

May I suggest you please check with below app which might help you further. It'll let you turn off all of your workflows, triggers, process builders, etc so you can run the upload. 

Tip: I would also suggest you give a try by bypassing the Apex tests run when deploying change set in production which should help.

Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra.
 
Raj VakatiRaj Vakati
No Brain approach .. Just comment trigger and  dnt comment the test class then push it prod becasue trigger need more than 0 % code coverage 

OR use ant destructive changes and delete both ..