refactor: split admin/config.py into ai_config and db_config

This commit is contained in:
2026-04-19 17:10:56 +03:00
parent 239368e595
commit 8fcd4150e5
4 changed files with 79 additions and 61 deletions

View File

@@ -38,7 +38,7 @@ def test_db_settings_workflow(test_client, admin_token):
def test_ai_config(test_client, admin_token):
response = test_client.get(
"/admin/db/settings/ai",
"/admin/ai/settings",
headers={"Authorization": f"Bearer {admin_token}"}
)
assert response.status_code == status.HTTP_200_OK