You need to sign in to do that
Don't have an account?
John Breedlove
Fixing a failing test class in production
I have a test class in production that is failing because it's pulling back too many records. In the sandbox, I fixed it by just limiting the SOQL query. However, when I try to push it to production via a change set, it fails because the test class I'm trying to replace fails in production.... which of course it does, that's why I'm trying to replace it!
How do I properly push this change to production?
How do I properly push this change to production?
This https://help.salesforce.com/apex/HTViewSolution?id=000006188&language=en_US (https://help.salesforce.com/apex/HTViewSolution?id=000006188&language=en_US) article might help you.
Thnkas,
N.J