Skip to content

Commit 218aa4e

Browse files
committed
fixed failing test
1 parent fa9a110 commit 218aa4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ nav:
6868
- Guards: overview/guards.md
6969
- Custom Decorators: overview/custom_decorators.md
7070
- Module Router: overview/module-router.md
71+
- Execution Context: basics/execution-context.md
7172
- Configuration: configurations.md
7273
- How-to Guides:
7374
- Input Parsing: parsing-inputs/index.md
@@ -88,7 +89,6 @@ nav:
8889
- Caching: caching.md
8990
- Rate Limiting: throttling.md
9091
# - Injection Scopes: basics/injection-scope.md
91-
- Execution Context: basics/execution-context.md
9292
# - Events: basics/events.md
9393
- Commands:
9494
- Introduction: commands/index.md

tests/test_guard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def auth_demo_endpoint(request=Req()):
105105

106106
client = TestClient(app)
107107

108-
BODY_UNAUTHORIZED_DEFAULT = {"detail": "Not authenticated"}
108+
BODY_UNAUTHORIZED_DEFAULT = {"detail": "Forbidden"}
109109

110110

111111
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)