From fd9df05c48c09b4d7f39a3b401882bda226dedea Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 31 十月 2023 20:38:18 +0800
Subject: [PATCH] 近期修改
---
force-app/main/default/classes/BidAnnounceIframeControllerTest.cls | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/BidAnnounceIframeControllerTest.cls b/force-app/main/default/classes/BidAnnounceIframeControllerTest.cls
index 6549839..6f45c82 100644
--- a/force-app/main/default/classes/BidAnnounceIframeControllerTest.cls
+++ b/force-app/main/default/classes/BidAnnounceIframeControllerTest.cls
@@ -42,13 +42,15 @@
ContentDocumentLink link = new ContentDocumentLink();
link.ContentDocumentId = version.ContentDocumentId;
link.LinkedEntityId = ba.Id;
- link.ShareType = 'I';
+ link.ShareType = 'V';
link.Visibility = 'AllUsers';
+ Test.startTest();
insert link;
controller.init();
ba.Web_URL__c = '';
update ba;
controller.init();
+ delete link;
}
}
\ No newline at end of file
--
Gitblit v1.9.1