When deploying an Apex trigger from sandbox to production, an error similar to the following appears:

"Code Coverage Failure"


  • JIRA Server

Diagnostics Steps

Not applicable.


This maybe due to CPQ's package trigger being enabled.


Not applicable.


There is an option in the CPQ managed package to disable the triggers. Try to disable the triggers in Salesforce's sandbox and run the test class again.

You can do so with these steps:

  1. Click Setup > Installed Packages > Salesforce CPQ.

  2. Then click Configure > Additional Settings > Triggers Disabled.

Note: You may have to log out and log back in.