Small tests fix
This commit is contained in:
parent
653939995c
commit
f8a3ac11b2
1 changed files with 1 additions and 4 deletions
|
@ -49,7 +49,6 @@ func TestGetUpdates(t *testing.T) {
|
|||
_, err := bot.GetUpdates(u)
|
||||
|
||||
if err != nil {
|
||||
t.Log(err.Error())
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
|
@ -274,9 +273,7 @@ func TestSendWithNewSticker(t *testing.T) {
|
|||
|
||||
msg := tgbotapi.NewStickerUpload(ChatID, "tests/image.jpg")
|
||||
|
||||
resp, err := bot.Send(msg)
|
||||
|
||||
t.Log(resp)
|
||||
_, err := bot.Send(msg)
|
||||
|
||||
if err != nil {
|
||||
t.Fail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue