Skip to main content

start

Function start 

Source
pub async fn start<Built>(
    app: impl FnOnce(Db) -> Built,
    worker: impl FnOnce(Db) -> Worker,
) -> TestApp
where Built: Future<Output = Result<App>>,
Expand description

A test whose app needs tables migrates them in app, as the binary does only with SOFIE_MIGRATE=on.