test: add TestContext.allow_unencrypted()

This commit is contained in:
link2xt
2026-05-07 07:10:17 +02:00
parent e122bdf5fc
commit 93ac040194
20 changed files with 155 additions and 1 deletions

View File

@@ -160,6 +160,7 @@ Sent with my Delta Chat Messenger: https://delta.chat";
let mut tcm = TestContextManager::new();
let bob = &tcm.bob().await;
bob.set_config_bool(Config::IsChatmail, true).await?;
bob.allow_unencrypted().await?;
let bob_chat_id = receive_imf(
bob,
b"From: alice@example.org\n\