Added live_period for Location (tests)

This commit is contained in:
pr0head 2017-10-13 22:53:47 +03:00
parent 65947daaab
commit 7031d820be
2 changed files with 4 additions and 3 deletions

View file

@ -266,7 +266,7 @@ func TestSendWithContact(t *testing.T) {
func TestSendWithLocation(t *testing.T) {
bot, _ := getBot(t)
_, err := bot.Send(tgbotapi.NewLocation(ChatID, 40, 40))
_, err := bot.Send(tgbotapi.NewLocation(ChatID, 40, 40, 86400))
if err != nil {
t.Error(err)