-
How to assign permission set in test class?
I have set OWD to private and create a permission set to give access to object. We have removed all the object settings access from the concerned profile. Previously with OWD set to private, profile based object access was there. Now all the test classes are getting failed. Error is coming in test classes that User must have Read Access to the record. So what should I do to assign permission set in test class so that my all test classes and its methods run perfectly.
Log In to reply.
Popular Salesforce Blogs
Everything You Need To Know About Salesforce Sales Enablement
Sales representatives can quickly onboard with the aid of sales enablement. Additionally, it enhances their overall sales abilities and supports them in effectively managing business…
The Fundamentals of Salesforce CDP
In the realm of marketing, every little thing you do has the power to make or break your business. While many tried and tested marketing…
Some Common Differences in Salesforce
Let's have a look on some specific common differences that are mostly used on day to day work in Salesforce. 1. Data Loader Vs Data…
Popular Salesforce Videos
Salesforce Financial Services Cloud Implementation Guide
You’ve decided to use Salesforce Financial Services Cloud but where do you begin? How can you utilize Salesforce to track all your customer interactions and…
What are sObjects in Salesforce? | Salesforce Development Tutorials
In this video Shrey not only teaches you sObjects but also demonstrates the use of sObjects in Apex. He explained about the sObjects and how…
Accenture Salesforce Training 2022
This video is about -Accenture Salesforce Training 2022 Orientation session and ASE SFDC Salesforce Certification. As the trusted leader in Salesforce implementation and transformation, Accenture can…