()
| 9 | #[sea_orm_macros::test] |
| 10 | #[cfg(feature = "sqlx-postgres")] |
| 11 | async fn main() -> Result<(), DbErr> { |
| 12 | let ctx = common::TestContext::new("bits_tests").await; |
| 13 | create_tables(&ctx.db).await?; |
| 14 | create_and_update(&ctx.db).await?; |
| 15 | ctx.delete().await; |
| 16 | |
| 17 | Ok(()) |
| 18 | } |
| 19 | |
| 20 | pub async fn create_and_update(db: &DatabaseConnection) -> Result<(), DbErr> { |
| 21 | let bits = bits::Model { |
nothing calls this directly
no test coverage detected