+ Start a Discussion
Tamojita GuhasarkarTamojita Guhasarkar 

How to edit a apex test class which in present in change set

Hello All ,

While deploying my code to production I'm getting validation failover error due to some issue with a test class and apex class. I got the error but I'm not able to rectify them as I could not see an option to edit them. So what needs to be done in this situation? Do I need to edit those classes in sandbox and then again create a new change set? or somehow the old changeset could be reused? Please help me.

Sumit Kumar Singh 9Sumit Kumar Singh 9
You need to edit those classes in Sandbox. Then go the the old changeset and clone it and deploy again. If you cole the changeset, you need not to add the components again, all the components will be added automatically.

Sumit Kumar Singh