function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Taylor ChinTaylor Chin 

Im stuck on security specialist super badge part 2

Hi im currently working on the sales force system admin certification moduels on trailhead.
Im currently on the security specialist superbadge part 2.

When I don the apex text execution for the test sb_beAwsome i keep getting failed tests.
For class summary it says public class beAwesome
class is not fefined as a global.

And the error im getting is
error message: System.QueryException: List has no rows for assignment to SObject.
Stack trace:
Class.sb_securityBeAwesome.CreatUser: line133 column 1
Class.sb_security.BeAwesome.setup line 124 collumn 1

Im pretty sure that ive followed all the instructions in the system but I it fails both tests.

Further up in the instructions it says to create a new user and to make their role field sales and their profile field sales user but there is no field sales role available to select when creating a new user. But nowhere in the instructions does it say to create a role called field sales.