From ab66c4c0b0e6eb8e880dcc8b2a45765cac77577e Mon Sep 17 00:00:00 2001 From: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> Date: Thu, 13 Aug 2026 16:00:17 -0400 Subject: [PATCH] test(sections): reuse migrated integration database Signed-off-by: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> --- crates/buzz-db/src/section_workspace.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/buzz-db/src/section_workspace.rs b/crates/buzz-db/src/section_workspace.rs index bec6aeeac1..356e45ee45 100644 --- a/crates/buzz-db/src/section_workspace.rs +++ b/crates/buzz-db/src/section_workspace.rs @@ -1205,13 +1205,9 @@ mod tests { let database_url = std::env::var("BUZZ_TEST_DATABASE_URL") .or_else(|_| std::env::var("DATABASE_URL")) .unwrap_or_else(|_| TEST_DB_URL.to_owned()); - let pool = PgPool::connect(&database_url) + PgPool::connect(&database_url) .await - .expect("connect to test database"); - crate::migration::run_migrations(&pool) - .await - .expect("apply migrations"); - pool + .expect("connect to test database") } async fn make_community(pool: &PgPool) -> CommunityId {