mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
async file io
This commit is contained in:
@@ -104,7 +104,7 @@ struct TestContext {
|
||||
async fn create_test_context() -> TestContext {
|
||||
let dir = tempdir().unwrap();
|
||||
let dbfile = dir.path().join("db.sqlite");
|
||||
let ctx = Context::new(Box::new(cb), "FakeOs".into(), dbfile)
|
||||
let ctx = Context::new(Box::new(cb), "FakeOs".into(), dbfile.into())
|
||||
.await
|
||||
.unwrap();
|
||||
TestContext { ctx, dir }
|
||||
|
||||
Reference in New Issue
Block a user