fix: insert other chart profiles directly (#15)

This commit is contained in:
732642856
2026-07-20 17:45:31 +08:00
committed by GitHub
parent cdfd389662
commit b3bca954da
4 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -141,9 +141,10 @@ def test_chart_profile_library_has_cloud_table_api_and_local_fallback() -> None:
'eq("user_id", user.id)',
'eq("role", "self")',
'insert({ user_id: user.id, role, profile: body.profile',
'upsert(record, { onConflict: "id" })',
'insert({ user_id: user.id, role, profile: body.profile, updated_at: updatedAt })',
):
assert token in route
assert 'upsert(record, { onConflict: "id" })' not in route
assert 'eq("role", "other")' in delete_route
for token in (