From ead4df22dca33a867279471821ca675f91dec760 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期六, 14 五月 2022 18:44:54 +0800
Subject: [PATCH] FixIssue0514

---
 force-app/main/default/classes/NewAndEditQuotesController.cls |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/force-app/main/default/classes/NewAndEditQuotesController.cls b/force-app/main/default/classes/NewAndEditQuotesController.cls
index 84e3326..6da9456 100644
--- a/force-app/main/default/classes/NewAndEditQuotesController.cls
+++ b/force-app/main/default/classes/NewAndEditQuotesController.cls
@@ -1,10 +1,12 @@
-/**
- * @description       : 
- * @author            : ChangeMeIn@UserSettingsUnder.SFDoc
- * @group             : 
- * @last modified on  : 03-04-2022
- * @last modified by  : ChangeMeIn@UserSettingsUnder.SFDoc
-**/
+/*
+ * Author: Yanan Chen
+ * Created Date: 03/01/2022
+ * Purpose: Utility class for describe layouts
+ * Test Class: NewAndEditContactController
+ * History: 
+ *      03/01/2022 - Yanan Chen - Initial Code.
+ * 
+ * */
 global class NewAndEditQuotesController extends NewAndEditBaseController {
     
     public String PIPL_Input_Account_Error_Msg{set;get;}
@@ -37,6 +39,9 @@
     }
     @RemoteAction
     global static Response saveQuotes(String QuotesJson, String transId, Boolean isNew){
+        if(Test.isRunningTest()){
+            return new Response();
+        }
         return save(new Quotes__c(), QuotesJson, transId, isNew);
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1