From 5e35016c569218d56f28ef69a5fd574c9ce6556e Mon Sep 17 00:00:00 2001 From: Nikolaj Goodger Date: Thu, 22 Oct 2026 20:52:21 +1100 Subject: [PATCH] test(db): audit the schema bootstrap fixture Signed-off-by: Nikolaj Goodger --- .../tests/schema_fence_bootstrap_postgres_tests.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/crates/buzz-db/src/runtime/tests/schema_fence_bootstrap_postgres_tests.rs b/crates/buzz-db/src/runtime/tests/schema_fence_bootstrap_postgres_tests.rs index 022403ef69..67eb9a9a99 100644 --- a/crates/buzz-db/src/runtime/tests/schema_fence_bootstrap_postgres_tests.rs +++ b/crates/buzz-db/src/runtime/tests/schema_fence_bootstrap_postgres_tests.rs @@ -12,10 +12,13 @@ async fn migration_schema_bootstrap_keeps_only_explicit_legacy_fences() { .execute(&pool) .await .unwrap(); - sqlx::raw_sql(&crate::test_support::desired_state_schema_sql()) - .execute(&pool) - .await - .unwrap(); + // Only checked-in schema files contribute SQL to this test bootstrap. + sqlx::raw_sql(sqlx::AssertSqlSafe( + crate::test_support::desired_state_schema_sql(), + )) + .execute(&pool) + .await + .unwrap(); for (table, expected) in [ ("new_tenant_probe", false),