diff --git a/api/tests/test_auth_deps.py b/api/tests/test_auth_deps.py index 1e0da35..7ed0a08 100644 --- a/api/tests/test_auth_deps.py +++ b/api/tests/test_auth_deps.py @@ -495,6 +495,7 @@ def test_me_response_schema_serializes_enum_and_null_segment() -> None: "full_name": "А", "regional_office": office, "roles": ["KA_GO"], + "role_details": [{"code": "KA_GO", "name": "КА ГО"}], "permissions": ["KFO_VIEW"], } empty = MeResponse(business_segment=None, **fields)