Require View Setup Permission to Access Apex Test Data (Update)
Improve security for your Salesforce org with this update. When
this update is enabled, users must have the “View Setup and Configuration” permission to
access these SObjects: ApexTestQueueItem,
ApexTestResult, ApexTestResultLimits, ApexTestRunResult, ApexTestSuite, and TestSuiteMembership.
Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.
When: This update is automatically enforced on August 07, 2020.
How: To apply this update, from Setup, in the Quick Find box, enter Release Updates, and select Release Updates. Then select this Release Update.
Anonymous Apex or the API to enqueue Apex tests or access data related to Apex tests must
be executed as users having the “View Setup and Configuration” permission.

