Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions force-app/main/default/classes/BDI_DataImportCTRL_TEST.cls
Original file line number Diff line number Diff line change
Expand Up @@ -300,16 +300,10 @@ private with sharing class BDI_DataImportCTRL_TEST {
// should have matched
System.assertEquals(null,testDIResultA.FailureInformation__c);
System.assertEquals(BDI_DataImport_API.bdiDryRunValidated,testDIResultA.Status__c);
// Contact matching will not return an imported contact if contact name is encrypted
if (sObjectType.Contact.fields.Name.isEncrypted()) {
System.assertEquals(null,testDIResultA.Contact1Imported__c);
} else {
if (!sObjectType.Contact.fields.Name.isEncrypted()) {
System.assertNotEquals(null,testDIResultA.Contact1Imported__c);
}
// Contact matching status will be 'no match' if contact name is encrypted
if (sObjectType.Contact.fields.Name.isEncrypted()) {
System.assertEquals(System.label.bdiDryRunNoMatch,testDIResultA.Contact1ImportStatus__c);
} else {
if (!sObjectType.Contact.fields.Name.isEncrypted()) {
System.assertEquals(System.label.bdiDryRunMatched,testDIResultA.Contact1ImportStatus__c);
}
System.assertEquals(null,testDIResultA.DonationImported__c);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@
<pluralLabel>Account Soft Credits</pluralLabel>
<searchLayouts/>
<sharingModel>ControlledByParent</sharingModel>
<startsWith>Vowel</startsWith>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are set in the individual objectTranslation files, removing them from here allows deployment directly to non-english orgs.

<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,5 @@
<searchFilterFields>Address_Type__c</searchFilterFields>
</searchLayouts>
<sharingModel>ControlledByParent</sharingModel>
<startsWith>Vowel</startsWith>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@
<pluralLabel>GAU Allocations</pluralLabel>
<searchLayouts/>
<sharingModel>ReadWrite</sharingModel>
<startsWith>Vowel</startsWith>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,5 @@
<pluralLabel>AutoNumbers</pluralLabel>
<searchLayouts/>
<sharingModel>ReadWrite</sharingModel>
<startsWith>Vowel</startsWith>
<visibility>Protected</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@
<pluralLabel>Engagement Plan Tasks</pluralLabel>
<searchLayouts/>
<sharingModel>ControlledByParent</sharingModel>
<startsWith>Vowel</startsWith>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,5 @@
<pluralLabel>Engagement Plan Templates</pluralLabel>
<searchLayouts/>
<sharingModel>ReadWrite</sharingModel>
<startsWith>Vowel</startsWith>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,5 @@
<pluralLabel>Engagement Plans</pluralLabel>
<searchLayouts/>
<sharingModel>ControlledByParent</sharingModel>
<startsWith>Vowel</startsWith>
<visibility>Public</visibility>
</CustomObject>
Loading