()
| 15 | |
| 16 | #[tokio::test] |
| 17 | async fn test_connection() { |
| 18 | run_test(async { |
| 19 | let pool = connection_pool().await; |
| 20 | |
| 21 | match sqlx::query("SELECT 1").execute(pool).await { |
| 22 | Ok(_val) => (), |
| 23 | Err(_e) => panic!("Test Fail!"), |
| 24 | }; |
| 25 | }) |
| 26 | .await; |
| 27 | } |
| 28 | |
| 29 | #[tokio::test] |
| 30 | async fn test_transaction_commit() { |
nothing calls this directly
no test coverage detected