debug: print db url in tests
This commit is contained in:
parent
7d66d9d5b8
commit
e14c42023a
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ pub mod tests {
|
||||||
let mut db_url = Url::parse(&settings.database.url).unwrap();
|
let mut db_url = Url::parse(&settings.database.url).unwrap();
|
||||||
db_url.set_path(&GenerateRandomString.get_random(12));
|
db_url.set_path(&GenerateRandomString.get_random(12));
|
||||||
settings.database.url = db_url.to_string();
|
settings.database.url = db_url.to_string();
|
||||||
|
println!("Test database URL: {}", settings.database.url);
|
||||||
settings.database.pool = 1;
|
settings.database.pool = 1;
|
||||||
|
|
||||||
settings
|
settings
|
||||||
|
|
Loading…
Reference in a new issue