Rename visible product to URBM

This commit is contained in:
Mikei386
2026-06-14 14:05:10 +02:00
parent 449647be12
commit 7cae5dc168
14 changed files with 38 additions and 28 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (s *Sender) Send(ctx context.Context, target model.NotificationTarget, titl
if path == "" {
path = "/usr/local/emhttp/webGui/scripts/notify"
}
args := []string{"-e", "Backupper", "-s", title, "-d", message, "-i", importance, "-l", "/Tools/Backupper"}
args := []string{"-e", "URBM", "-s", title, "-d", message, "-i", importance, "-l", "/Tools/Backupper"}
if s.RunCommand != nil {
return s.RunCommand(ctx, path, args...)
}
+1 -1
View File
@@ -56,7 +56,7 @@ func TestSendUnraid(t *testing.T) {
if command != "/usr/local/emhttp/webGui/scripts/notify" {
t.Fatalf("unexpected command %q", command)
}
want := []string{"-e", "Backupper", "-s", "Backup warning", "-d", "completed with warnings", "-i", "warning", "-l", "/Tools/Backupper"}
want := []string{"-e", "URBM", "-s", "Backup warning", "-d", "completed with warnings", "-i", "warning", "-l", "/Tools/Backupper"}
if !reflect.DeepEqual(args, want) {
t.Fatalf("arguments = %#v, want %#v", args, want)
}