Added live_period
for Location (tests)
This commit is contained in:
parent
65947daaab
commit
7031d820be
2 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue