沙世明
2022-04-08 eeb7c0a2d6f037d515bb822d739036b69c4dc73a
force-app/main/default/classes/InsReportPDFControllerTest.cls
@@ -22,6 +22,13 @@
@isTest
private class InsReportPDFControllerTest {
    @TestSetup
    static void makeData(){
        List<String> strList= new List<String>();
        strList.add('Inspection_Report__c');
        strList.add('Document');
        TestDataUtility.CreatePIPolicyConfigurations(strList);
    }
    static testMethod void myUnitTest() {
        Profile p = [select Id from Profile where id =:System.Label.ProfileId_SystemAdmin];
        // ユーザー作成