Testing Who May Do What

Testing Who May Do What: Testing Protected Routes.

Updated

  1. Testing Protected Routes (Journeyman): Tests for an API's rules about who may do what sign in inside a fixture and send the token in the Authorization header, try each rule as each kind of user and once with no token, and can override get_current_user with dependency_overrides as a shortcut, knowing it skips the token check.