You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to add some guidance to properly write unit tests with FastAPI Users, especially how to use the dependency_overrides mechanism of FastAPI to "mock" the current_user dependency.
Following discussion #672, we should add details in the documentation about how you can properly override the user dependency during testing.
The text was updated successfully, but these errors were encountered: