Skip to main content
I'm trying to get the step -2 and while running the supplied Apex Test, 

Getting below error 

ClassBeAwesome

Method NamehugYourMother

Pass/FailFail

Error MessageSystem.QueryException: List has no rows for assignment to SObject

Stack TraceClass.sb_security.BeAwesome.createUser: line 89, column 1

Class.sb_security.BeAwesome.setup: line 81, column 1

I have created the records owned by Samantha as mentioned and also created sharing rule for Project managers.

Can someone please help ?

 
28 answers
  1. Jun 24, 2016, 5:02 PM
    I'm at the same junction as both Igor and Trail-Runner and am at a loss as to how to address this error, especially since there is nothing specific in the error message to assist in knowing what the error actually is. 
0/9000