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
Salesforce developer 11Salesforce developer 11 

1.Challenge Not yet complete... here's what's wrong: Ensure that test methods can't use live data.

User-added image
Pradeep JonnalagaddaPradeep Jonnalagadda
@Salesforce developer 11
Ensure you don't have @isTest(SeeAllData=true) annotation.
Veronica GayosoVeronica Gayoso
You need to have @isTest(SeeAllData=false) annotation, instead @isTest(SeeAllData=true).