mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-04 22:56:56 +08:00
Fix unit test following httpx-oauth update
This commit is contained in:
@ -211,7 +211,7 @@ class TestCallback:
|
|||||||
assert response.status_code == status.HTTP_200_OK
|
assert response.status_code == status.HTTP_200_OK
|
||||||
|
|
||||||
get_access_token_mock.assert_called_once_with(
|
get_access_token_mock.assert_called_once_with(
|
||||||
"CODE", "http://www.tintagel.bt/callback"
|
"CODE", "http://www.tintagel.bt/callback", None
|
||||||
)
|
)
|
||||||
|
|
||||||
data = cast(Dict[str, Any], response.json())
|
data = cast(Dict[str, Any], response.json())
|
||||||
|
|||||||
Reference in New Issue
Block a user