mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-30 00:22:08 +00:00
test: handle chat state Result in callback
This commit is contained in:
@@ -357,7 +357,8 @@ mod tests {
|
|||||||
seed_prompt(&ctx, "", crate::db::unix_now()).await;
|
seed_prompt(&ctx, "", crate::db::unix_now()).await;
|
||||||
ctx.chat_store
|
ctx.chat_store
|
||||||
.update(1, |data| data.forward_channel_id = None)
|
.update(1, |data| data.forward_channel_id = None)
|
||||||
.await;
|
.await
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
handle_callback(&ctx, callback_id(), 1, PROMPT_ID, "forward").await;
|
handle_callback(&ctx, callback_id(), 1, PROMPT_ID, "forward").await;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user