Skip to content

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

Open
@HenryRLee

Description

@HenryRLee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions