SendTestNotification sends a test notification to the given sender.
(ctx context.Context, rep repo.Repository, s sender.Sender)
| 213 | |
| 214 | // SendTestNotification sends a test notification to the given sender. |
| 215 | func SendTestNotification(ctx context.Context, rep repo.Repository, s sender.Sender) error { |
| 216 | log(ctx).Infof("Sending test notification to %v", s.Summary()) |
| 217 | |
| 218 | return SendTo(ctx, rep, s, notifytemplate.TestNotification, notifydata.EmptyEventData{}, SeveritySuccess, notifytemplate.DefaultOptions) |
| 219 | } |
no test coverage detected
searching dependent graphs…