TelegramBots / Telegram.Bot

.NET Client for Telegram Bot API
https://telegrambots.github.io/book
MIT License
3.17k stars 686 forks source link

BotBlockedException tests #639

Closed poulad closed 6 years ago

poulad commented 6 years ago

There are currently no tests for BotBlockedException.

@karb0f0s suggests having the id of a user who blocked the bot in test configs.

In that case, related tests should go into a separate collection with its class fixture. This ensures such config is optional for a tester unless he wants to test that exception.

karb0f0s commented 6 years ago

This issue was moved to TelegramBots/Telegram.Bot.Extensions.Exceptions#4