test(api): pin /version schema assertion to migration 65 (D2/D3)
D2/D3 added 0064 + 0065; re-pin the #[ignore]-gated version test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -891,12 +891,12 @@ async fn version_includes_public_base_url(pool: PgPool) {
|
|||||||
assert!(v["public_base_url"].is_string());
|
assert!(v["public_base_url"].is_string());
|
||||||
assert_eq!(v["api"], 1);
|
assert_eq!(v["api"], 1);
|
||||||
// `schema` is migrations::latest_version() — the highest embedded
|
// `schema` is migrations::latest_version() — the highest embedded
|
||||||
// migration number, currently 63 (…0060_group_suppressions ..
|
// migration number, currently 65 (…0064_shared_topic_queue_kinds,
|
||||||
// 0063_materialized_unique from the v1.2 template track). This test is
|
// 0065_group_queues from the v1.2 D2/D3 deferrals). This test is
|
||||||
// #[ignore]-gated so it doesn't run in the default `cargo test`; pinned to
|
// #[ignore]-gated so it doesn't run in the default `cargo test`; pinned to
|
||||||
// current reality so an unintended schema change is still caught. Bump it
|
// current reality so an unintended schema change is still caught. Bump it
|
||||||
// whenever a migration lands.
|
// whenever a migration lands.
|
||||||
assert_eq!(v["schema"], 63);
|
assert_eq!(v["schema"], 65);
|
||||||
assert_eq!(v["sdk"], "1.10");
|
assert_eq!(v["sdk"], "1.10");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user