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/OpportunityTriggerTest.cls | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/classes/OpportunityTriggerTest.cls b/force-app/main/default/classes/OpportunityTriggerTest.cls
index 12b89cf..b68c474 100644
--- a/force-app/main/default/classes/OpportunityTriggerTest.cls
+++ b/force-app/main/default/classes/OpportunityTriggerTest.cls
@@ -1,3 +1,10 @@
+/**
+ * @description :
+ * @author : ChangeMeIn@UserSettingsUnder.SFDoc
+ * @group :
+ * @last modified on : 04-21-2022
+ * @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc
+**/
@isTest
private class OpportunityTriggerTest {
@@ -458,7 +465,7 @@
StaticParameter.OpportunityTriggerIsUpdate = true;
List<RecordType> rectIE = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and Name = 'Customer IE'];
Account accIE = new Account(
- Name = '*',
+ Name = 'test',
RecordTypeId = rectIE[0].Id,
OwnerId = UserInfo.getUserId(),
DivisionName__c='Customer IE',
@@ -495,7 +502,7 @@
List<RecordType> rectOpp = [select id from RecordType where IsActive = true and SobjectType = 'Opportunity'];
Opportunity opp = new Opportunity(
- Name = 'test opp',
+ Name = 'test',
AccountId = accIE.Id,
RecordTypeId = rectOpp[0].Id,
OwnerId = UserInfo.getUserId(),
@@ -531,7 +538,7 @@
insert role;
Order odr = new Order(
- Name = '',
+ Name = 'test',
Status = 'Draft',
Status__c = 'Active',
AccountId = accIE.Id,
@@ -542,7 +549,8 @@
IE_SP8__c = true,
SpecialDeliveryAccount_D__c = accIE.Id,
SpecialDeliveryContact2_D__c = con.Id,
- EndUser__c = con.Id
+ EndUser__c = con.Id,
+ EndUserD__c = con.Id
);
insert odr;
opp.Name = 'test';
--
Gitblit v1.9.1