Fixup
This commit is contained in:
parent
7c18e19f56
commit
23155dced1
@ -298,7 +298,7 @@ pub async fn transaction_closure_commit() -> Result<(), DbErr> {
|
|||||||
feature = "sqlx-postgres"
|
feature = "sqlx-postgres"
|
||||||
))]
|
))]
|
||||||
pub async fn transaction_closure_rollback() -> Result<(), DbErr> {
|
pub async fn transaction_closure_rollback() -> Result<(), DbErr> {
|
||||||
let ctx = TestContext::new("transaction_closure_commit_test").await;
|
let ctx = TestContext::new("transaction_closure_rollback_test").await;
|
||||||
create_tables(&ctx.db).await?;
|
create_tables(&ctx.db).await?;
|
||||||
|
|
||||||
assert_eq!(bakery::Entity::find().all(&ctx.db).await?.len(), 0);
|
assert_eq!(bakery::Entity::find().all(&ctx.db).await?.len(), 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user