test(db): expect the published synastry.full prices in the business schema
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user