Fixup
This commit is contained in:
parent
20312b776d
commit
f7398d1c5c
@ -37,7 +37,7 @@ pub async fn test(db: &DbConn) {
|
|||||||
|
|
||||||
assert!(matches!(res, TryInsertResult::Inserted(_)));
|
assert!(matches!(res, TryInsertResult::Inserted(_)));
|
||||||
|
|
||||||
let empty_insert = Bakery::insert_many(std::iter::empty())
|
let empty_insert = Bakery::insert_many(std::iter::empty::<bakery::ActiveModel>())
|
||||||
.on_empty_do_nothing()
|
.on_empty_do_nothing()
|
||||||
.exec(db)
|
.exec(db)
|
||||||
.await;
|
.await;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user