From a9baff8a4508c1850e650f68831d857b953eace4 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期一, 16 五月 2022 16:59:25 +0800
Subject: [PATCH] 合同批准后拆分,打印pdf带出套装

---
 force-app/main/default/classes/SendEmailControllerTest.cls |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/classes/SendEmailControllerTest.cls b/force-app/main/default/classes/SendEmailControllerTest.cls
index 524bc5d..34be45f 100644
--- a/force-app/main/default/classes/SendEmailControllerTest.cls
+++ b/force-app/main/default/classes/SendEmailControllerTest.cls
@@ -1,5 +1,11 @@
 @isTest
 private class SendEmailControllerTest {
+    
+    @TestSetup
+    static void setup(){
+        TestDataUtility.CreatePIPolicyConfigurations(new string[]{'Mail','Mail_Merge__c','Document'});
+    }
+    
     static testMethod void Add() {
 
         User_FaultInfo__c ca = new User_FaultInfo__c();

--
Gitblit v1.9.1