sciagent code + Gitea Actions CI/CD
CI/CD / backend (push) Failing after 2m8s
CI/CD / frontend (push) Failing after 1m40s
CI/CD / deploy (push) Has been skipped

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Thinh Lam
2026-06-30 09:38:30 +07:00
commit 688fac73e9
1167 changed files with 158244 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
"""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ộ",
}