mirror of
https://github.com/block/buzz.git
synced 2026-11-05 08:51:10 +00:00
test(db): audit the schema bootstrap fixture
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user