• Ashish Pathania
  • 10 Points
  • Member since 2019

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
  • 0

I am trying to include recaptcha with my web-to-lead form, and writing  form code in the script, so cant include the <script src="https://www.google.com/recaptcha/api.js">

inside the main script. I tried many ways but couldn't make it work,

can Someone please tell me a way to work around that will be a great help

The actual code is running,
But while writting the unit testing it is giving the above error,
The code does a part where it updates the contact and user details of the user. This user which is being updated is not the logged in one.
Please guide.
 writing the unit test for deactivate user method,in the code after giving the run.As  for the current user, i gave it for the user I am deleting. So it is giving the error of INACTIVE_OWNER_OR_USER,  pls guide