| | |
| | | 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(); |
| | |
| | | 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'); |
| | | } |
| | | } |