MCPcopy Create free account
hub / github.com/chatmail/core / exec_securejoin_group

Function exec_securejoin_group

src/securejoin/securejoin_tests.rs:1018–1026  ·  view source on GitHub ↗
(
        tcm: &TestContextManager,
        scanner: &TestContext,
        scanned: &TestContext,
    )

Source from the content-addressed store, hash-verified

1016#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
1017async fn test_send_avatar_in_securejoin() -> Result<()> {
1018 async fn exec_securejoin_group(
1019 tcm: &TestContextManager,
1020 scanner: &TestContext,
1021 scanned: &TestContext,
1022 ) {
1023 let chat_id = chat::create_group(scanned, "group").await.unwrap();
1024 let qr = get_securejoin_qr(scanned, Some(chat_id)).await.unwrap();
1025 tcm.exec_securejoin_qr(scanner, scanned, &qr).await;
1026 }
1027 async fn exec_securejoin_broadcast(
1028 tcm: &TestContextManager,
1029 scanner: &TestContext,

Callers 1

Calls 3

get_securejoin_qrFunction · 0.85
exec_securejoin_qrMethod · 0.80
create_groupFunction · 0.50

Tested by

no test coverage detected