pub async fn run_with_database<DB, H>(
backend: DB,
handler: H,
) -> Result<TestContext<DB>, H::Error>
Expand description
Helper function to run a handler with a new database
pub async fn run_with_database<DB, H>(
backend: DB,
handler: H,
) -> Result<TestContext<DB>, H::Error>
Helper function to run a handler with a new database