Summary
Due to complex setup and fields restriction in Salesforce, test class fails to deploy to environment. You may run into an error as follows:
...
Environment
Cloud or DC
Diagnostics Steps
This test class is only to be executed is the test class such as in the Configuring Configure Automatic Pull from Salesforce fails to deploy to environment.
Cause
Complex fields such as Cascading fields or restricted fields in Salesforce may cause an issue as the JCFS testing trigger checks whether every logic is working as it has to or it could be positive or negative testing and is global (does not correlate to the fields mapping only). Test classes also confirms every trigger is executed at least once.
\uD83D\uDCD8 Instructions
To successfully deploy the Trigger, you would require to either:
...
Info |
---|
Do take note that the above test class is for reference purposes. As each instance varies in complexity, you may need to change or we also need to add other required fields in to the code accordingly. Please refer to the error message received in order to modify the test class. |
Resolution
N/A
\uD83D\uDCCB Related articles
Filter by label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|