buli
2022-04-26 5835379ec30b1667c4e522db9d294c9b7bb8633a
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';//修改为Prospect Created 原来是Phase3
        opp.CurrencyIsoCode = 'CNY';
        opp.ProductSegment__c = 'IE';
        opp.CloseDate = Date.today();