diff --git a/frontend/tests/database-local-business.test.ts b/frontend/tests/database-local-business.test.ts index 96fbf61d..a028c9fd 100644 --- a/frontend/tests/database-local-business.test.ts +++ b/frontend/tests/database-local-business.test.ts @@ -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):