Обновить зависимости проекта
This commit is contained in:
@@ -245,7 +245,9 @@ impl TestDatabase {
|
||||
let schema = crank_test_support::unique_schema_name("test_registry");
|
||||
|
||||
admin_pool
|
||||
.execute(sqlx::query(&format!("create schema {schema}")))
|
||||
.execute(sqlx::query(sqlx::AssertSqlSafe(format!(
|
||||
"create schema {schema}"
|
||||
))))
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
@@ -267,10 +269,10 @@ impl TestDatabase {
|
||||
|
||||
pub(super) async fn cleanup(&self) {
|
||||
self.admin_pool
|
||||
.execute(sqlx::query(&format!(
|
||||
.execute(sqlx::query(sqlx::AssertSqlSafe(format!(
|
||||
"drop schema if exists {} cascade",
|
||||
self.schema
|
||||
)))
|
||||
))))
|
||||
.await
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user