You need to sign in to do that
Don't have an account?
Testing with Test Self-Service Users
I have apex processes that interact with contacts who also are self-service portal users. I only want contacts who are "super users." The code works fine.
The problem is that for testing, there apparently is no way to create a test self-service user. DML operations are prohibited on Self-Service Users.
I can create Self-Service users via the API, but not in Apex.
To exercise and validate my code, I am being force to create a dummy account, contact, and self-service user in both the production environment and the test environment. This is just WRONG.
Any work-around would be greatly appreciated.
hmm looking for a solution to this too... back to google...
Maybe I should change the title from "Testing with Test Self-Service Users" to "Testing with Social Users." Then I could get some attention.