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
Keith BordenKeith Borden 

Enabling States & Country Picklists Causes Changeset Deployment Failure

We recently enabled State & Country picklists.  Since then, all efforts at deploying changesets have failed.  Doesn't seem to matter what is in the changeset (class, trigger, custom field, etc.), all deployment attempts result in "Code Coverage Failure" error.  The specific error we see is "Details: Average test coverage across all Apex Classes and Triggers is 70%, at least 75% test coverage is required."  If we disable State & Country picklists, the exact same changeset now gets deployed successfully.  Any ideas on why the enablement of State & Country picklists is causing the deployment problem and what we can do to solve the problem?
ShashankShashank (Salesforce Developers) 
Hi Keith,

Could you please let me know if you are still facing this issue? If so please email me at ssrivatsavaya@salesforce.com with your org id, login access, and detailed replication steps.

Thanks,
Shashank
Salesforce.com