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
Hannah ButcherHannah Butcher 

I get a 60% coverage message as the error message after doing a change set and trying to deploy but not sure why.

I did a change set from the sandbox to production and got the test to work for everything but the apex trigger. I get a 60% coverage message for the error. I am having a really tough time figuring out why it isn't working. It seems like this is a pretty common problem, but I can't get an easy answer for why that would happen. Anyone experienced this before?
If you're validating and deploying all tests then maybe an issue that the existing test classes in the Org do not meet the coverage any more. Or there could be validation rules that are affecting your code.