"""Minimal valid staff fields for POST /api/v1/auth/register in integration tests.""" from __future__ import annotations import uuid def register_staff_fields() -> dict[str, str]: """Unique employee_id per call (DB partial unique index on user_staff_profiles.employee_id).""" suffix = uuid.uuid4().hex[:8].upper() return { "employeeId": f"CB-{suffix}", "academicTitleCode": "master", "unitNameFreetext": "Khoa kiểm thử", "jobTitle": "Cán bộ", }