Skip to content

Commit bcbe534

Browse files
authored
Merge pull request #381 from go-telegram-bot-api/fix-media-group-test
Temporarily fix MediaGroup test (Imgur -> GitHub)
2 parents 0a3a1c8 + 5e61ed0 commit bcbe534

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bot_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,8 @@ func TestSendWithMediaGroup(t *testing.T) {
549549
bot, _ := getBot(t)
550550

551551
cfg := tgbotapi.NewMediaGroup(ChatID, []interface{}{
552-
tgbotapi.NewInputMediaPhoto("https://i.imgur.com/unQLJIb.jpg"),
553-
tgbotapi.NewInputMediaPhoto("https://i.imgur.com/J5qweNZ.jpg"),
554-
tgbotapi.NewInputMediaVideo("https://i.imgur.com/F6RmI24.mp4"),
552+
tgbotapi.NewInputMediaPhoto("https://github.com/go-telegram-bot-api/telegram-bot-api/raw/0a3a1c8716c4cd8d26a262af9f12dcbab7f3f28c/tests/image.jpg"),
553+
tgbotapi.NewInputMediaVideo("https://github.com/go-telegram-bot-api/telegram-bot-api/raw/0a3a1c8716c4cd8d26a262af9f12dcbab7f3f28c/tests/video.mp4"),
555554
})
556555
_, err := bot.Send(cfg)
557556
if err != nil {

0 commit comments

Comments
 (0)