diff --git a/force-app/main/default/classes/PotentialDuplicates_TEST.cls b/force-app/main/default/classes/PotentialDuplicates_TEST.cls index b6e193b041..27987c7076 100644 --- a/force-app/main/default/classes/PotentialDuplicates_TEST.cls +++ b/force-app/main/default/classes/PotentialDuplicates_TEST.cls @@ -23,10 +23,9 @@ private with sharing class PotentialDuplicates_TEST { String setOfMatches = (String)data.get('setOfMatches'); Integer numberOfMatches = setOfMatches.split(',').size(); - // Duplicates will not be found if encryption is enabled + // Duplicates will not be found if encryption is enabled / standard rules deactivated if (sObjectType.Contact.fields.Name.isEncrypted()) { System.assertEquals('', setOfMatches, 'No duplicate Ids should be returned if encryption is enabled'); - System.assertEquals(0, numberOfMatches, 'There should be 0 duplicates returned if encryption is enabled'); } else { System.assertNotEquals('', setOfMatches, 'Duplicate Ids should be returned');