test(api): pin /version schema assertion to migration 65 (D2/D3)
Some checks failed
CI / Rust — fmt, clippy, test (push) Failing after 18m47s
CI / Dashboard — check (push) Successful in 9m47s

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:
MechaCat02
2026-07-02 22:40:20 +02:00
parent c361048022
commit ae98063f87

View File

@@ -891,12 +891,12 @@ async fn version_includes_public_base_url(pool: PgPool) {
assert!(v["public_base_url"].is_string());
assert_eq!(v["api"], 1);
// `schema` is migrations::latest_version() — the highest embedded
// migration number, currently 63 (…0060_group_suppressions ..
// 0063_materialized_unique from the v1.2 template track). This test is
// migration number, currently 65 (…0064_shared_topic_queue_kinds,
// 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
// current reality so an unintended schema change is still caught. Bump it
// whenever a migration lands.
assert_eq!(v["schema"], 63);
assert_eq!(v["schema"], 65);
assert_eq!(v["sdk"], "1.10");
}