李彤
2022-09-23 d79fcb2a960e8b0e18fe039d892f98187b08866d
force-app/main/default/classes/QISPDFControllerTest.cls
@@ -23,7 +23,7 @@
private class QISPDFControllerTest {
    @TestSetup
    static void makeData(){
        TestDataUtility.CreatePIPolicyConfiguration('QIS_Report__c');
        TestDataUtility.CreatePIPolicyConfigurations(new string[]{'QIS_Report__c','Document'});
    }
    static testMethod void myUnitTest() {
        QIS_Report__c q = new QIS_Report__c();
@@ -38,4 +38,9 @@
        QISPDFController controller = new QISPDFController();
        controller.init();
    }
    static testMethod void Test1(){
        QISPDFController.getImageByUrl('https://ocsm--stagefull--c.documentforce.com/servlet/rtaImage?eid=a0f1000000cS7qH&refid=0EM10000002WIgq');
        QISPDFController.getImageByUrl('https://ocsm--stagefull--c.documentforce.com/servlet/rtaImage?eid=a0f1000000cS7qH&feoid=00N10000006P4rz');
    }
}