I have a test class. The annotation on the class is
In the test, the first step I do is create a user. I am getting the following exception when I run my test.
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_COMM_NICKNAME, Duplicate Nickname.
Another user has already selected this nickname.
Please select another.: [CommunityNickname]
If SeeAllData is set to false, why would I get a duplicate nickname exception? Any ideas?