mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-25 23:52:04 +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;
|
||||
ctx.chat_store
|
||||
.update(1, |data| data.forward_channel_id = None)
|
||||
.await;
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
handle_callback(&ctx, callback_id(), 1, PROMPT_ID, "forward").await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user