Create and use some test helper functions

This commit is contained in:
Hocuri
2020-12-17 18:02:26 +01:00
parent bc67fa3204
commit af8a6d7722
6 changed files with 70 additions and 89 deletions

View File

@@ -2164,7 +2164,6 @@ mod tests {
// create alice's account
let t = TestContext::new_alice().await;
// create one-to-one with bob, archive one-to-one
let bob_id = Contact::create(&t.ctx, "bob", "bob@example.com")
.await
.unwrap();