From 04c7efe2960bfa5cdf5d84d1a8399dcb76f43ada Mon Sep 17 00:00:00 2001 From: filipriec Date: Mon, 24 Feb 2025 23:04:49 +0100 Subject: [PATCH] removing database remove functionality --- server/tests/common/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/tests/common/mod.rs b/server/tests/common/mod.rs index 9b700f0..bf198d7 100644 --- a/server/tests/common/mod.rs +++ b/server/tests/common/mod.rs @@ -28,10 +28,3 @@ pub async fn setup_test_db() -> PgPool { pool } - -pub async fn clear_adresar_table(pool: &PgPool) { - sqlx::query("TRUNCATE adresar RESTART IDENTITY CASCADE") - .execute(pool) - .await - .expect("Failed to clear adresar table"); -}