A developer is writing an apex unit test using the salesforce API version 24.0 or later. What should the developer do to allow the apex test to access data stored in the organizaton?
Use the @IsTest(SeeAllData=true) annotation.

Written by 

2x Salesforce MVP | Platform Champion | 18x Salesforce Certified | MuleSoft Certified | 8x Trailhead Ranger | TechForce Services | Sydney | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *

*