Alerting: Add integration tests for dual-stage email templating (#43484)
* Resolve merge conflicts * Remove cruft from local exploration * Move integration tests to intercept using new abstraction layer instead of channel * Fix linter error after rebase
This commit is contained in:
@@ -118,6 +118,10 @@ func (ns *NotificationService) Run(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
func (ns *NotificationService) GetMailer() Mailer {
|
||||
return ns.mailer
|
||||
}
|
||||
|
||||
func (ns *NotificationService) SendWebhookSync(ctx context.Context, cmd *models.SendWebhookSync) error {
|
||||
return ns.sendWebRequestSync(ctx, &Webhook{
|
||||
Url: cmd.Url,
|
||||
|
||||
Reference in New Issue
Block a user