I am stuck trying to pass the UserTest ticket. All the test cases have passed except for the last one “DeleteUser” I am getting below error:
“Should not find any sessions after deleting a user. deleteUser() method needs to remove the user sessions”
I know that before deleting the user, I need to execute the “deleteUserSessions” with the user_id, I already have the find to get the user_id based on the email but I am not able to cast it to String. Any help here?