| | |
| | | @isTest |
| | | private class UpdateInquiryFormConfirmationBatchTest { |
| | | static testMethod void updaue() { |
| | | UpdateInquiryFormConfirmationBatch.test();//先调用这个,然后继续补充测试类 |
| | | } |
| | | static testMethod void test_method_one() { |
| | | //医院 |
| | | List<RecordType> rectHp = [select Id from RecordType where IsActive = true and SobjectType = 'Account' and DeveloperName = 'HP']; |
| | |
| | | System.assertEquals(null, inq[0].MinimumDate__c); |
| | | System.assertEquals(1, inq.size()); |
| | | Id execBTId = Database.executeBatch(new UpdateInquiryFormConfirmationBatch(), 100); |
| | | Id execBTId1 = Database.executeBatch(new UpdateInquiryFormConfirmationBatch(inquiryform.id), 100); |
| | | System.Test.stopTest(); |
| | | |
| | | } |