diff --git a/tests/common/setup/mod.rs b/tests/common/setup/mod.rs index 62e06b65..519be2e3 100644 --- a/tests/common/setup/mod.rs +++ b/tests/common/setup/mod.rs @@ -150,7 +150,7 @@ pub async fn create_table_without_asserts( if builder != DbBackend::Sqlite { let stmt = builder.build( Table::drop() - .table(Alias::new(create.get_table_name().unwrap().as_ref())) + .table(create.get_table_name().unwrap().clone()) .if_exists() .cascade(), );