From e14c42023abd69e683e737125c5503fa83c3f457 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Fri, 20 Sep 2024 17:20:54 +0530 Subject: [PATCH] debug: print db url in tests --- src/settings/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings/mod.rs b/src/settings/mod.rs index 8945e65..fb2dee8 100644 --- a/src/settings/mod.rs +++ b/src/settings/mod.rs @@ -158,6 +158,7 @@ pub mod tests { let mut db_url = Url::parse(&settings.database.url).unwrap(); db_url.set_path(&GenerateRandomString.get_random(12)); settings.database.url = db_url.to_string(); + println!("Test database URL: {}", settings.database.url); settings.database.pool = 1; settings