force-app/main/default/classes/NFM624BatchTest.cls
@@ -1,9 +1,11 @@ @isTest public with sharing class NFM624BatchTest { static testMethod void testMethod1() { BatchIF_Log__c testLog = new BatchIF_Log__c(); testLog.CurrencyIsoCode = 'CNY'; testLog.Type__c = 'NFM624'; //testLog.Type__c = 'NFM624'; testLog.Type__c = 'NFM624Rest2'; //zhj 新方案改造 NFM624Rest2 2023-01-06 testLog.MessageGroupNumber__c = '123456789987'; // testLog.Name = '20211207'; testLog.ErrorLog__c = ''; @@ -16,4 +18,4 @@ insert testLog; Database.executeBatch(new NFM624Batch(),1); } } }