buli
2022-05-13 2f4492ee18f90274582fcc2bb06f5e9bf64136e8
force-app/main/default/classes/SBG027TriggerHandleTest.cls
@@ -1,9 +1,6 @@
@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',
@@ -109,7 +106,7 @@
        opp.Dealer__c = buyer.Id;
        opp.RecordTypeId = rectOpp[0].Id;
        opp.OwnerId = UserInfo.getUserId();
        opp.StageName = 'Phase3';//修改为Prospect Created 原来是Phase3
        opp.StageName = 'Phase3';
        opp.CurrencyIsoCode = 'CNY';
        opp.ProductSegment__c = 'IE';
        opp.CloseDate = Date.today();