• Prakher Chaturvedi 2
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I have a class which filters query on SystemModStamp < Yesterday.

I want to cover this query in test class by creating record in test class whose SystemModStamp is older than yesterday.

I have tried on Json.deserialize method and Test.LoadData method both do not work well for systemModStamp.