MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / main

Function main

tests/sql_err_tests.rs:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11#[sea_orm_macros::test]
12async fn main() {
13 let ctx = TestContext::new("bakery_chain_sql_err_tests").await;
14 create_tables(&ctx.db).await.unwrap();
15 test_error(&ctx.db).await;
16 ctx.delete().await;
17}
18
19pub async fn test_error(db: &DatabaseConnection) {
20 let mud_cake = cake::ActiveModel {

Callers

nothing calls this directly

Calls 5

test_errorFunction · 0.85
unwrapMethod · 0.80
newFunction · 0.50
create_tablesFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected