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