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
mdinatalemdinatale 

Production code coverage can't update code

Okay, ive been googleing this for hours, can't seem to figure it out. My production overall code coverage is 70% so i can't update any code on production. So how do i update my code on production to raise the test conditions if i can't update any code? I do have eclipse. Any help will be much appreciated.

SeAlVaSeAlVa

You can upload code as long as your lines covered are over 70%.

 

You should update both, class and test-class from eclipse (deploy them) and you should be fine.

mdinatalemdinatale

Let me try both test and class, I was just trying to update the test class.

mdinatalemdinatale

My test is in the class, all one file, it tests on the sandbox at 94% when i go to move it over it says Delete_Operation_too_large cascading delete. Thats what the one on the production fails on too, trying to fix it.