-
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
Hire the Best Salesforce Implementation Partners in USA
Scaling a business in today’s digital landscape requires more than just a CRM; it requires a powerhouse ecosystem that aligns your sales, marketing, and service…
A Comprehensive Guide to Salesforce Lightning Development
Businesses are depending more and more on strong, adaptable platforms as the digital landscape changes in order to spur innovation and productivity. One such platform…
All You Need To Know About Salesforce Health Cloud 2.0
Health Cloud 2.0, a solution designed to empower businesses and governments to provide better health and safety for their employees, consumers, and communities, was unveiled…
Popular Salesforce Videos
Salesforce Consultant Career | Salesforce Career Path | Salesforce Consultant Certification
If you're interested in becoming a Salesforce consultant, one of the first things to consider is how much education you need. We've determined that 60.2%…
Accenture + Salesforce: Making an Impact
Our people and communities are important connection points for support. Hear more from our Salesforce professionals. Check out this video to learn everything you need…
Integrating a Node.js Application with Salesforce
Watch this video where we will explore how to integrate a Node.js web application with Salesforce using Heroku Connect and JSForce. You can work with…