涂煌豪
2022-05-23 9ec7864874be51f0458408e17f51873b5443e76c
force-app/main/default/classes/ContactTriggerHandlerTest.cls
@@ -6,6 +6,11 @@
    public static Contact contact1 = new Contact();
    public static Contact contact2 = new Contact();
   
    @Testsetup
    static void setup(){
        TestDataUtility.CreatePIPolicyConfiguration('Agency_Contact__c');
    }
   @isTest static void test_method_one() {
        List<RecordType> HPrectCo = [select Id, Name, DeveloperName from RecordType where IsActive = true and SobjectType = 'Account' and DeveloperName = 'HP'];
        List<RecordType> GIrectCo = [select Id, Name, DeveloperName from RecordType where IsActive = true and SobjectType = 'Account' and DeveloperName = 'Department_Class_GI'];