Prevent the build from failing no more.

pull/79/merge
Ian Byrd 7 years ago
parent c8e1ac037f
commit 3533141572
No known key found for this signature in database
GPG Key ID: 598F598CA3B8055F

@ -2,6 +2,7 @@ package telebot
import ( import (
"fmt" "fmt"
"net/http"
"os" "os"
"testing" "testing"
) )
@ -27,7 +28,8 @@ func TestBot(t *testing.T) {
} }
func TestRecipient(_ *testing.T) { func TestRecipient(_ *testing.T) {
bot := Bot{} bot := Bot{Client: &http.Client{}}
bot.SendMessage(User{}, "", nil) bot.SendMessage(User{}, "", nil)
bot.SendMessage(Chat{}, "", nil) bot.SendMessage(Chat{}, "", nil)
} }

Loading…
Cancel
Save