Test changes
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ mod db_mgr {
|
||||
template_pool: &sqlx::PgPool,
|
||||
db_name: &str,
|
||||
) -> Result<(), sqlx::Error> {
|
||||
match sqlx::query(r#"CREATE DATABASE $1"#)
|
||||
match sqlx::query(r#"CREATE DATABASE {}"#)
|
||||
.bind(db_name)
|
||||
.execute(template_pool)
|
||||
.await
|
||||
@@ -69,7 +69,7 @@ mod db_mgr {
|
||||
template_pool: &sqlx::PgPool,
|
||||
db_name: &str,
|
||||
) -> Result<(), sqlx::Error> {
|
||||
sqlx::query(r#"DROP DATABASE IF EXISTS $1 WITH (FORCE)"#)
|
||||
sqlx::query(r#"DROP DATABASE IF EXISTS {} WITH (FORCE)"#)
|
||||
.bind(db_name)
|
||||
.execute(template_pool)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user