From 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期一, 30 五月 2022 16:15:26 +0800
Subject: [PATCH] 两个LS特殊条件在说明的增减
---
force-app/main/default/classes/SBG027TriggerHandleTest.cls | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/SBG027TriggerHandleTest.cls b/force-app/main/default/classes/SBG027TriggerHandleTest.cls
index 25eef90..562a0aa 100644
--- a/force-app/main/default/classes/SBG027TriggerHandleTest.cls
+++ b/force-app/main/default/classes/SBG027TriggerHandleTest.cls
@@ -1,6 +1,9 @@
@isTest
public class SBG027TriggerHandleTest {
static String setdata(){
+ //add by sushanhu 20220415 start
+ TestDataUtility.CreatePIPolicyConfiguration('SBG027');
+ //add by sushanhu 20220415 end
Id pricebookId = Test.getStandardPricebookId();
Pricebook2 pricebook = new Pricebook2(
Name = 'IE',
@@ -106,7 +109,7 @@
opp.Dealer__c = buyer.Id;
opp.RecordTypeId = rectOpp[0].Id;
opp.OwnerId = UserInfo.getUserId();
- opp.StageName = 'Phase3';
+ opp.StageName = 'Phase3';//淇敼涓篜rospect Created 鍘熸潵鏄疨hase3
opp.CurrencyIsoCode = 'CNY';
opp.ProductSegment__c = 'IE';
opp.CloseDate = Date.today();
@@ -216,7 +219,9 @@
RecordTypeId = '01228000000NJt6',
confirm__c = false,
SP_21__c = true,
- EndUser__c = con.Id
+ Discount_D__c = 10,
+ EndUser__c = con.Id,
+ EndUserD__c = con.Id
);
insert odr;
--
Gitblit v1.9.1