Skip to content
Merged
Prev Previous commit
Add missing can render test
  • Loading branch information
BrunoQuaresma committed Aug 14, 2024
commit 4688765f4ac776e25cebd03c8382d461128bdb06
11 changes: 11 additions & 0 deletions coderd/notifications/notifications_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,17 @@ func TestNotificationTemplatesCanRender(t *testing.T) {
},
},
},
{
name: "TemplateTemplateDeleted",
id: notifications.TemplateTemplateDeleted,
payload: types.MessagePayload{
UserName: "bobby",
Labels: map[string]string{
"name": "bobby-template",
"initiator": "rob",
},
},
},
}

allTemplates, err := enumerateAllTemplates(t)
Expand Down
Loading