Skip to content

Commit

Permalink
fix notifier tests
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Nov 9, 2023
1 parent 100649c commit 959427a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notifier/notifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ func configureNotifier(t *testing.T) {
senderSettings := map[string]interface{}{
"type": "test",
}
sendersNameToType := make(map[string]string)
notifier.sendersNameToType["test"] = "test"

sender.EXPECT().Init(senderSettings, logger, location, "15:04 02.01.2006", sendersNameToType).Return(nil)
sender.EXPECT().Init(senderSettings, logger, location, "15:04 02.01.2006", notifier.sendersNameToType).Return(nil)

notifier.RegisterSender(senderSettings, sender) //nolint

Expand Down

0 comments on commit 959427a

Please sign in to comment.