From cdcd7ebced39e63ebbca5295ed8e34b66d515130 Mon Sep 17 00:00:00 2001
From: Liu Cheng <liucheng@prec-tech.com>
Date: 星期四, 09 六月 2022 09:47:32 +0800
Subject: [PATCH] XLIU-CF6DL4【委托】RS-202206-609790 直返地址无法选择
---
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