test: actualizeaza asertia coloane list_accounts (requested_plan, consent_at)

Testul verifica setul exact de chei returnat de list_accounts; ramasese in urma
dupa ce coloanele requested_plan si consent_at au fost adaugate (5.17/consent).
Fara legatura cu 5.20 — esec pre-existent semnalat in checkpoint.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-07-02 19:55:48 +00:00
parent 1648960b13
commit 3eaf1ca6cd

View File

@@ -112,7 +112,10 @@ def test_list_accounts_ordonat_fara_creds(conn):
assert ids == sorted(ids) assert ids == sorted(ids)
for r in rows: for r in rows:
assert "rar_creds_enc" not in r assert "rar_creds_enc" not in r
assert set(r.keys()) == {"id", "name", "cui", "email", "active", "status", "created_at", "tier", "trial_until"} assert set(r.keys()) == {
"id", "name", "cui", "email", "active", "status", "created_at",
"tier", "trial_until", "requested_plan", "consent_at",
}
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------