Skip to content

Commit 1a2d1ea

Browse files
chore: update golden files
1 parent a74d3f7 commit 1a2d1ea

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

coderd/notifications/testdata/rendered-templates/smtp/TemplateTestNotification.html.golden

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Hi Bobby,
1515
This is a test notification.
1616

1717

18+
View notification settings: http://test.com/deployment/notifications?tab=3D=
19+
settings
20+
1821
--bbe61b741255b6098bb6b3c1f41b885773df633cb18d2a3002b68e4bc9c4
1922
Content-Transfer-Encoding: quoted-printable
2023
Content-Type: text/html; charset=UTF-8
@@ -49,6 +52,13 @@ argin: 8px 0 32px; line-height: 1.5;">
4952
</div>
5053
<div style=3D"text-align: center; margin-top: 32px;">
5154
=20
55+
<a href=3D"http://test.com/deployment/notifications?tab=3Dsettings"=
56+
style=3D"display: inline-block; padding: 13px 24px; background-color: #020=
57+
617; color: #f8fafc; text-decoration: none; border-radius: 8px; margin: 0 4=
58+
px;">
59+
View notification settings
60+
</a>
61+
=20
5262
</div>
5363
<div style=3D"border-top: 1px solid #e2e8f0; color: #475569; font-siz=
5464
e: 12px; margin-top: 64px; padding-top: 24px; line-height: 1.6;">

coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
"user_email": "bobby@coder.com",
1010
"user_name": "Bobby",
1111
"user_username": "bobby",
12-
"actions": [],
12+
"actions": [
13+
{
14+
"label": "View notification settings",
15+
"url": "http://test.com/deployment/notifications?tab=settings"
16+
}
17+
],
1318
"labels": {},
1419
"data": null
1520
},

0 commit comments

Comments
 (0)