feat(auth): migrate to Keycloak metadata auth
This commit is contained in:
@@ -22,14 +22,14 @@ def test_create_log_adds_commits_and_refreshes(monkeypatch):
|
||||
|
||||
result = asyncio.run(
|
||||
repo.create_log(
|
||||
action="LOGIN",
|
||||
action="CREATE_PROJECT",
|
||||
request_method="POST",
|
||||
request_path="/auth/login",
|
||||
request_path="/api/v1/projects",
|
||||
response_status=200,
|
||||
)
|
||||
)
|
||||
|
||||
assert result.action == "LOGIN"
|
||||
assert result.action == "CREATE_PROJECT"
|
||||
assert result.request_method == "POST"
|
||||
assert session.commit_count == 1
|
||||
assert len(session.added) == 1
|
||||
|
||||
Reference in New Issue
Block a user