test(db): expect the published synastry.full prices in the business schema
Independent Staging Quality Gate / validate (push) Successful in 17m30s
Independent Staging Quality Gate / publish (push) Successful in 4m5s

The local PostgreSQL check reads the whole feature_pricing table, so the 19-credit rows from the new migration have to be in the expected list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jesse-ux
2026-10-20 14:24:20 +08:00
co-authored by Cursor
parent 006b067e82
commit dac6b7fae9
+12 -2
View File
@@ -185,9 +185,19 @@ test("local PostgreSQL applies the reviewed business schema and serves authentic
fixture.psqlAs(
"admin_runtime",
"admin-runtime-test-password",
"select feature_key || ':' || model_tier || ':' || credit_cost || ':' || status from public.feature_pricing",
`select feature_key || ':' || model_tier || ':' || credit_cost || ':' || status
from public.feature_pricing
order by feature_key, model_tier`,
),
"rectification:standard:3:draft",
// 原值: "rectification:standard:3:draft"
// 新值: 上面那行,再加上 synastry.full 的 standard / premium / internal 各 19 点、published
// 原因: 20261020010000 发布了合盘定价。这条查询读的是整张表,不是只读刚插入的校正草稿。
[
"rectification:standard:3:draft",
"synastry.full:internal:19:published",
"synastry.full:premium:19:published",
"synastry.full:standard:19:published",
].join("\n"),
);
// Public table allowlist. Last change (BUG-548):