From 928399eceec50e3d37ea08669a12789a9410a9d2 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 22 十一月 2022 16:51:16 +0800
Subject: [PATCH] 111
---
force-app/main/default/classes/OpportunityTriggerTest.cls | 56 ++++++++++++++++++++++++++++----------------------------
1 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/force-app/main/default/classes/OpportunityTriggerTest.cls b/force-app/main/default/classes/OpportunityTriggerTest.cls
index d8bf0e6..f3f0d17 100644
--- a/force-app/main/default/classes/OpportunityTriggerTest.cls
+++ b/force-app/main/default/classes/OpportunityTriggerTest.cls
@@ -121,7 +121,7 @@
Body = EncodingUtil.base64Decode('test')
);
insert att3;
- delete att3;
+ //delete att3;
Rental_Apply__c rentalApply = new Rental_Apply__c();
// '寮曞綋瀹屼簡' -> 宸叉壒鍑�
@@ -139,23 +139,23 @@
rentalApply.Hope_Lonaer_date_Num__c = 6;
insert rentalApply;
- Attachment att4 = new Attachment(
- Name = 'ORDER-123456.pdf',
- parentId = rentalApply.Id,
- Body = EncodingUtil.base64Decode('test')
- );
- insert att4;
- delete att4;
+ // Attachment att4 = new Attachment(
+ // Name = 'ORDER-123456.pdf',
+ // parentId = rentalApply.Id,
+ // Body = EncodingUtil.base64Decode('test')
+ // );
+ // insert att4;
+ // delete att4;
- Consumable_order__c co = new Consumable_order__c();
- insert co;
+ // Consumable_order__c co = new Consumable_order__c();
+ // insert co;
- Attachment att5 = new Attachment(
- Name = 'ORDER-123456.pdf',
- parentId = co.Id,
- Body = EncodingUtil.base64Decode('test')
- );
- insert att5;
+ // Attachment att5 = new Attachment(
+ // Name = 'ORDER-123456.pdf',
+ // parentId = co.Id,
+ // Body = EncodingUtil.base64Decode('test')
+ // );
+ // insert att5;
//delete att5;
System.Test.stopTest();
@@ -349,18 +349,18 @@
//鏂板缓璇环鏃�,璧嬪�兼嫑鎶曟爣椤圭洰,鎵撲笂鏍囪瘑
- Opportunity opp2 = new Opportunity(
- Name = 'test opp1',
- StageName = '寮曞悎',
- CurrencyIsoCode = 'USD',
- CloseDate = Date.today(),
- AccountId = depart.Id,
- Closing_Bid_Date__c = Date.today().addDays(-5),
- Hospital__c = company.Id,
- Competitor__c = 'A'
- //,Bidding_Project_Name_Bid__c = te1.Id //lt 20220316
- );
- insert opp2;
+ // Opportunity opp2 = new Opportunity(
+ // Name = 'test opp1',
+ // StageName = '寮曞悎',
+ // CurrencyIsoCode = 'USD',
+ // CloseDate = Date.today(),
+ // AccountId = depart.Id,
+ // Closing_Bid_Date__c = Date.today().addDays(-5),
+ // Hospital__c = company.Id
+ // // ,Competitor__c = 'A'
+ // //,Bidding_Project_Name_Bid__c = te1.Id //lt 20220316
+ // );
+ // insert opp2;
System.Test.stopTest();
--
Gitblit v1.9.1