function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Need help in test class

Hello ,


In my controller i have the SOQL with the where condition as '  Createddate = Yesterday '.My functionality is working .


While writing the test class for controller , the query is not satisfying ..because when record is created ,its not possible to edit the Created date field ..


How can i proceed now??


Thanx in advance.