feat: add workspace autostop reminder template (#26429)

This commit is contained in:
Jon Ayers
2026-06-23 10:16:17 -05:00
committed by GitHub
parent c9e94c20cc
commit 2f6f8b9520
6 changed files with 127 additions and 0 deletions
@@ -843,6 +843,19 @@ func TestNotificationTemplates_Golden(t *testing.T) {
},
},
},
{
name: "TemplateWorkspaceAutostopReminder",
id: notifications.TemplateWorkspaceAutostopReminder,
payload: types.MessagePayload{
UserName: "Bobby",
UserEmail: "bobby@coder.com",
UserUsername: "bobby",
Labels: map[string]string{
"workspace": "bobby-workspace",
"deadline": "2024-03-15 14:00 UTC",
},
},
},
{
name: "TemplateUserAccountCreated",
id: notifications.TemplateUserAccountCreated,