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

My change set seems to fail validation only when tested by a certain admin. Help?

I've got a change set with two workflows, a custom field, a field update, an email alert, and an email template that I'm trying to deploy.

When I try to validate it prior to deployment, it fails due to an error in one of our test classes.  When one of our other admins tries to validate it, it succeeds.

Any idea what might be causing this discrepancy?


What is your failed message? Also what is the code it's point towards? 


Do you have the exact same profile and permission sets as the other admin?  What error are you seeing - is it anything that could be tied to your user (custom setting, for example?)




I think it could be related to the profile and it's access. I would suggest that you try and get rid of the error message that is displayed by checking the test class.