From 5c01ebbfddb6b8674430b47c22977bea2e350084 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期三, 13 四月 2022 10:58:46 +0800
Subject: [PATCH] BackupPIPLFunction0413
---
force-app/main/default/classes/QISPDFControllerTest.cls | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/QISPDFControllerTest.cls b/force-app/main/default/classes/QISPDFControllerTest.cls
index f6a820d..49a9357 100644
--- a/force-app/main/default/classes/QISPDFControllerTest.cls
+++ b/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');
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1