}, sent)
}
-func TestBotSkipsTheWorkOfWhatsAppAndTheSchedules(t *testing.T) {
+func TestBotSkipsExternalWorkAndSchedules(t *testing.T) {
bot := &TelegramBot{
ready: make(chan struct{}, 1),
}
Text: "[Schedule 1] Sunday 2026-11-08 20:05 -03:00, once",
})
+ bot.Notify(Event{
+ Kind: "work",
+ Source: notifySource,
+ Text: "Untrusted external data.",
+ })
+
require.Empty(t, bot.queue)
}