add custom dialer

This commit is contained in:
henrygd
2026-09-08 07:51:52 -04:00
parent 8628741a63
commit d58f080a23
3 changed files with 96 additions and 24 deletions

View File

@@ -531,7 +531,7 @@ func TestSendTestNotification(t *testing.T) {
},
}
for _, url := range []string{localURL, "smtp://user:pass@consul", "mqtt://consul/topic"} {
for _, url := range []string{localURL, "smtp://user:pass@127.0.0.1/?fromAddress=sender@example.com&toAddresses=recipient@example.com", "mqtt://127.0.0.1/topic"} {
scenarios = append(scenarios, beszelTests.ApiScenario{
Name: "readonly cannot send to " + url,
Method: http.MethodPost,