From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 13 五月 2022 17:32:14 +0800
Subject: [PATCH] ProdBackup0513

---
 force-app/main/default/classes/NewAndEditLoanerApplicationControlTest.cls |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/classes/NewAndEditLoanerApplicationControlTest.cls b/force-app/main/default/classes/NewAndEditLoanerApplicationControlTest.cls
index 40d5393..4b9bb25 100644
--- a/force-app/main/default/classes/NewAndEditLoanerApplicationControlTest.cls
+++ b/force-app/main/default/classes/NewAndEditLoanerApplicationControlTest.cls
@@ -6,7 +6,8 @@
     }
     static testMethod void NewAndEditLoanerApplicationController() {
         Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreateMetaDataUtilityHttpMock());
-        loaner_application__c la = TestDataUtility.Createloanerapplications(1)[0];
+        loaner_application__c la = new loaner_application__c();
+        //loaner_application__c la = TestDataUtility.Createloanerapplications(1)[0];
 
         Test.startTest();
         ApexPages.StandardController con =  new ApexPages.StandardController(la);

--
Gitblit v1.9.1