-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update get_me to retrieve from kc (#108)
closes #106 depends on cfpb/regtech-api-commons#12
- Loading branch information
1 parent
1787c3d
commit ff20bdb
Showing
4 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
from fastapi import FastAPI | ||
from pytest_mock import MockerFixture | ||
from starlette.authentication import AuthCredentials, UnauthenticatedUser | ||
from regtech_api_commons.models.auth import AuthenticatedUser | ||
from regtech_api_commons.models import AuthenticatedUser | ||
from entities.models import ( | ||
FinancialInstitutionDao, | ||
FinancialInstitutionDomainDao, | ||
|
@@ -37,7 +37,6 @@ def auth_mock(mocker: MockerFixture) -> Mock: | |
@pytest.fixture | ||
def authed_user_mock(auth_mock: Mock) -> Mock: | ||
claims = { | ||
"id": "test_user_id", | ||
"name": "test", | ||
"preferred_username": "test_user", | ||
"email": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters