-
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
What Is the Process for Salesforce Certification Verification?
Getting certified in Salesforce is a big deal, but once you’ve aced those exams, you’ll want to verify that certification. Whether you’re applying for jobs…
Automation Hero | Salesforce Process Builder a step ahead Workflow
Every day at our workplace, we spend a considerable amount of time doing routine work processes that mostly repetitive and do not require any special…
Improve Your Salesforce Data Collection - 5 Simple Ways
1. Associate with Data Everywhere Salesforce fabricated the cloud. What's more, the cloud is an incredible spot to get to and dissect information. Be that…
Popular Salesforce Videos
Salesforce Staff Has Option to Keep Working From Home
Dan Bognar, head of the strategy for Asia at Salesforce.com Inc., discusses how the coronavirus outbreak is affecting the San Francisco-based software maker’s operations and…
Learn REST APIs and Integrations Basics in Salesforce Development
In this video, we will learn about REST APIs & Integrations Basics in Salesforce development: We will be discussing the following things in this video:…
What is a Salesforce Architect?
If you are not familiar with the ‘Solution Architect’ role then it can be explained relatively simply. Solution Architects are ultimately responsible for the ‘Solution’…