张宇恒
2022-05-06 3b43925ca3211c861a2818a089907d34b5480aa5
force-app/main/default/classes/NFM603ControllerTest.cls
@@ -305,5 +305,13 @@
        Database.executeBatch(new NFM603Batch(idList),100);
        Test.stopTest();
    }
    @isTest
    static void NFM603execute(){
        List<BatchIF_Log__c> logList = [select id from BatchIF_Log__c];
        Test.startTest();
        BatchIF_Log__c iflog = logList[0];
        NFM603Controller.ManualExecute(iflog.Id);
        Test.stopTest();
    }
}