Vamshi Krishna Pemberthi (IBM) 提问于 #Salesforce Developer2021年6月23日 11:38Is there any way to test the apex class methods which are based on caseHistory Object?1 个回答排序按日期排序按最有帮助排序按日期排序已采纳的回答Pranit Jangada (IBM)2021年10月1日 13:46Hello Vamshi, You need to create fake data for CaseHistory (just like you create the records for Case Object in test method) and use that data in the test class.
已采纳的回答Pranit Jangada (IBM)2021年10月1日 13:46Hello Vamshi, You need to create fake data for CaseHistory (just like you create the records for Case Object in test method) and use that data in the test class.