Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test code fails when using scratch org with Enterprise edition #51

Open
HenryRLee opened this issue Mar 11, 2020 · 0 comments
Open

Test code fails when using scratch org with Enterprise edition #51

HenryRLee opened this issue Mar 11, 2020 · 0 comments

Comments

@HenryRLee
Copy link
Contributor

@HenryRLee HenryRLee commented Mar 11, 2020

The root cause is that the default System Administrator profile under an Enterprise edition scratch org have missed some field level security on the account and opportunity object. These fields include:

Account.Sic
Account.Site
Account.AccountNumber
Account.Rating
Opportunity.TotalOpportunityQuantity

To fix it, we should avoid using these fields in the test code.

Temporary workaround: avoid using the Enterprise edition scratch org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.