You need to sign in to do that
Don't have an account?
Gaurav Jain 67
Can a developer change the API name of a field that is referenced in an Apex Test Class, from schema builder ? \
can a developer change the API name of a field that is referenced in an Apex Test Class, from schema builder ? Will The API name be changed, and a warning issued to update the class or The API name will not change ?
You cannot change the API name by using schema builder while it is refering somewhere in a trigger/class. Firstly you have to remove the reference and change the API name then.
Regards
Sampath
Yes, we cannot change the API name while reffering in test class also.
yes, we cannot chage the API name while reffering in test class
https://help.salesforce.com/articleView?id=000314907&type=1&mode=1. Here is the link.