Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

How to write test class that retrieves the account history data? [duplicate]

I am using an apex class(HistoryManager) which has a method getHistoryRecords that takes 2 parameters namely a soql query(String) and a recordId(String) and calling it in the connectedCallBack() ...
Mukesh's user avatar
  • 61
2 votes
3 answers
3k views

Create AccountHistory record in test class

Can we create the AccountHistory Reocrd in test class if it is possible plz post how ?
Rohit K Sethi's user avatar