You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Addresses PropicSignifi#51
Replace all references to the fields
Account.Sic
Account.Site
Account.AccountNumber
Account.Rating
Opportunity.TotalOpportunityQuantity
because they are not accessible by default in Enterprise edition scratch
orgs
* Fix test for `isCalculated` FieldSetting
The existing test suffers from two issues:
1. `isCalculated` is set on the FieldSetting for the previous test
(`setting` instead of `settingOne`)
2. Account.Rating is not actually a calculated field, but is returned
among a number of other default fields here because the FieldSetting is
unspecific
Account doesn't actually have any standard fields that are calculated,
so we use Workorder for this test instead.
* Fix tests failing in Enterprise scratch orgs
Addresses #51
Replace all references to the fields
Account.Sic
Account.Site
Account.AccountNumber
Account.Rating
Opportunity.TotalOpportunityQuantity
because they are not accessible by default in Enterprise edition scratch
orgs
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:
To fix it, we should avoid using these fields in the test code.
Temporary workaround: avoid using the Enterprise edition scratch org.
The text was updated successfully, but these errors were encountered: