function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi Nikhil,
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.You can take references from the below link:
https://trailblazer.salesforce.com/ideaView?id=08730000000h6RwAAI
Please mark it as the Best Answer if your queries are solved
Thank You
Hi Nikhil,
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.
You can take references from the below link:
https://trailblazer.salesforce.com/ideaView?id=08730000000h6RwAAI
Please mark it as the Best Answer if your queries are solved
Thank You