
Salesforce Shots : Test class for Revoke Portal User Access in Apex Batch Class
While writing Test class for this scenario the biggest challenge we faced was, “isPortalEnable” field of the “User” object is not editable, to make it we need to take care of the below points: We need to create Two individual users as test data one user as System Administrator and another one as Portal User. […]