Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mymmrac committed May 25, 2024
1 parent ce94d8b commit 7f34997
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/integration/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func TestSendPoll(t *testing.T) {
msg, err := bot.SendPoll(&telego.SendPollParams{
ChatID: tu.ID(chatID),
Question: "Test",
Options: []string{"Option 1", "Option 2"},
Options: []telego.InputPollOption{tu.PollOption("Option 1"), tu.PollOption("Option 2")},
IsAnonymous: nil,
})

Expand All @@ -188,7 +188,7 @@ func TestSendPoll(t *testing.T) {
msg, err := bot.SendPoll(&telego.SendPollParams{
ChatID: tu.ID(chatID),
Question: "Test",
Options: []string{"Option 1", "Option 2"},
Options: []telego.InputPollOption{tu.PollOption("Option 1"), tu.PollOption("Option 2")},
IsAnonymous: telego.ToPtr(false),
})

Expand All @@ -200,7 +200,7 @@ func TestSendPoll(t *testing.T) {
msg, err := bot.SendPoll(&telego.SendPollParams{
ChatID: tu.ID(chatID),
Question: "Test",
Options: []string{"Option 1", "Option 2"},
Options: []telego.InputPollOption{tu.PollOption("Option 1"), tu.PollOption("Option 2")},
IsAnonymous: telego.ToPtr(false),
Type: telego.PollTypeQuiz,
CorrectOptionID: telego.ToPtr(0),
Expand Down

0 comments on commit 7f34997

Please sign in to comment.