You need to sign in to do that
Don't have an account?
Sangeetha T
URGENT. Need help with Apex Test Class - Test Debug logs
Hi All
While inserting test records through DATABASE.INSERT in test class. I queried the inserted TEST records through System.Debug, To my surprise I could see that the field value has got changed.
Henceforth it is not passing to the another criteria to code coverage
for eg I inserted
F1 = "aqsh"
F2 = "assigned"
while querying the records look like this
F1 ="aqsh"
F2 = "Open"
PLEASE HELP
While inserting test records through DATABASE.INSERT in test class. I queried the inserted TEST records through System.Debug, To my surprise I could see that the field value has got changed.
Henceforth it is not passing to the another criteria to code coverage
for eg I inserted
F1 = "aqsh"
F2 = "assigned"
while querying the records look like this
F1 ="aqsh"
F2 = "Open"
PLEASE HELP
check object trigger and process
Thanks
It seems that you have some automated process changing your value to Open.
Please check the Process Builder, Workflow fields updates and last triggers,
Kind regards,