mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-22 01:17:48 +02:00
add custom dialer
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user