test: handle chat state Result in callback

This commit is contained in:
2026-09-24 19:46:23 +08:00
parent bc7f249c20
commit fb354c9434
+2 -1
View File
@@ -357,7 +357,8 @@ mod tests {
seed_prompt(&ctx, "", crate::db::unix_now()).await;
ctx.chat_store
.update(1, |data| data.forward_channel_id = None)
.await;
.await
.unwrap();
handle_callback(&ctx, callback_id(), 1, PROMPT_ID, "forward").await;