Skip to content

Commit 911a7f8

Browse files
committed
desc: use tcm in test_forward_group
1 parent 2c1ef39 commit 911a7f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/chat/chat_tests.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -2039,8 +2039,9 @@ async fn test_forward_quote() -> Result<()> {
20392039

20402040
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
20412041
async fn test_forward_group() -> Result<()> {
2042-
let alice = TestContext::new_alice().await;
2043-
let bob = TestContext::new_bob().await;
2042+
let mut tcm = TestContextManager::new();
2043+
let alice = tcm.alice().await;
2044+
let bob = tcm.bob().await;
20442045

20452046
let alice_chat = alice.create_chat(&bob).await;
20462047
let bob_chat = bob.create_chat(&alice).await;

0 commit comments

Comments
 (0)