You need to sign in to do that
Don't have an account?
Subbu's
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.
Hello,
Raise a case with support for enabling feature "Audit fields" for some time.
Refer: https://help.salesforce.com/apex/HTViewSolution?urlname=What-a-Customer-needs-to-know-for-the-Process-For-Having-Audit-Fields-Enabled&language=en_US