notif: config test for apprise

This commit is contained in:
CrazyMax
2025-08-03 16:23:55 +02:00
parent 6abe58ba6e
commit edd9608db3
2 changed files with 13 additions and 0 deletions

View File

@@ -73,6 +73,14 @@ func TestLoadFile(t *testing.T) {
Password: "guest",
Queue: "queue",
},
Apprise: &model.NotifApprise{
Endpoint: "http://apprise:8000",
Token: "abc",
Tags: []string{"diun"},
Timeout: utl.NewDuration(10 * time.Second),
TemplateTitle: model.NotifDefaultTemplateTitle,
TemplateBody: model.NotifDefaultTemplateBody,
},
Discord: &model.NotifDiscord{
WebhookURL: "https://discordapp.com/api/webhooks/1234567890/Abcd-eFgh-iJklmNo_pqr",
Mentions: []string{