-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make unit tests pass in Enterprise scratch org (#85)
* 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
- Loading branch information
1 parent
1c7abe9
commit 00e28ac
Showing
1 changed file
with
44 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters