Skip to content

Commit

Permalink
ut coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
karenychen committed Jul 8, 2024
1 parent f1cc680 commit bc0216e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2/sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ func TestSender_SetAzSender(t *testing.T) {
sender.SetAzSender(&fakeAzSender{})
err = sender.SendMessage(context.Background(), "test")
g.Expect(err).ToNot(HaveOccurred())
// coverage for deprecated FailOver() function
sender.FailOver(&fakeAzSender{})
}

func TestSender_ConcurrentSendAndSetAzSender(t *testing.T) {
Expand Down

0 comments on commit bc0216e

Please sign in to comment.