-
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
Learn About Kosha Yoga Momma: A Journey to Holistic Wellness
In the world of yoga, there are many paths that lead to personal growth, healing, and wellness. One of the emerging practices that has gained…
Top 4 Considerations in Choosing your Salesforce CPQ Partner
Congratulations, you’ve made the decision to implement Salesforce CPQ! Now comes the challenging task of choosing the right Salesforce CPQ partner to help fulfill your…
How to Create AM Chart Using Salesforce Lightning Component?
Hi Friends, When I was learning AM Chart creation in salesforce lighting, I was facing lots of difficulties to implement this and for every AM…
Popular Salesforce Videos
2020 Salesforce App Builder Certification Questions Explained
The Salesforce Platform App Builder credential is designed for individuals who would like to demonstrate their skills and knowledge in designing, building, and deploying custom…
How to Create Your First Salesforce Lightning Component?
OpFocus walks through the steps you need to know to create your first Salesforce Lightning Component.
5 Salesforce Developer Interview Red Flags That’ll Likely Get You Rejected
These are some common interview red flags that’ll likely get you rejected for that dream Salesforce developer job. Start prepping accordingly! Watch this video and…