-
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
Empower your Sales and Services with Salesforce Einstein Language
Language is a unique skill. In the hands of a suave sales guy, mastery in language can be the difference between winning or losing a…
A Guide to Listing App or Product on Salesforce AppExchange
To create a Salesforce App, coding experience is not mandatory. Apex and JavaScript are the key languages used in Salesforce App development. However, one can…
Keep your employees close and customers closer with Salesforce Customer 360 Truth
Customers are an integral part of any business. Therefore, customer satisfaction is always the topmost priority for any enterprise. To ensure customer satisfaction, one must…
Popular Salesforce Videos
Multi-factor Authentication in Salesforce | Setup of MFA
Multi-factor Authentication in Salesforce: Salesforce offers simple, innovative MFA solutions that provide a balance between strong security and user convenience. Because your business requirements and…
Salesforce Developer Training Videos For Beginners | Salesforce Training Videos | Edureka
This Salesforce developer training video will give you an introduction to the development aspects of Salesforce. You will learn how Visualforce pages are created by…
The Rising Demand for Salesforce Experts | Salesforce Careers
With more than 500,000 organizations using Salesforce to drive key business results, the market is brimming with opportunities for Salesforce certified professionals. A quick job…