2

is there any way to update the LastModifiedDate audit field for test coverage.

2
  • No, there are no way. You could try to do next things: 1) Use Test.loadData; 2) Split logic that you need to cover to avoid using LastModifiedDate as criteria, and cover it separately
    – kurunve
    Jan 27, 2016 at 11:09
  • json.deserialize will do the trick
    – cropredy
    Jan 27, 2016 at 16:42

0

You must log in to answer this question.

Browse other questions tagged .