Skip to content

Commit

Permalink
Fixture fix. (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Temmmmmo authored Jul 28, 2023
1 parent deaa352 commit 5387161
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions auth_lib/testing/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def auth_mock(request):
for cnt, scope in enumerate(scopes):
session_scopes.append({"id": cnt, "name": scope, "comment": ""})
_return_val: dict[str, int | list[dict[str, str | int]]] = {
"user_id": marker.kwargs.get("user_id", 0),
"id": 0,
"id": marker.kwargs.get("user_id", 0),
"session_scopes": session_scopes,
"user_scopes": session_scopes,
}
Expand Down

0 comments on commit 5387161

Please sign in to comment.