From 97e913041f77fac6eb908919c5b83ab1b14bc59b Mon Sep 17 00:00:00 2001 From: Danielle Maywood Date: Tue, 13 May 2025 11:37:03 +0000 Subject: [PATCH 1/2] chore: rename test notification --- .../migrations/000322_rename_test_notification.down.sql | 3 +++ .../database/migrations/000322_rename_test_notification.up.sql | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 coderd/database/migrations/000322_rename_test_notification.down.sql create mode 100644 coderd/database/migrations/000322_rename_test_notification.up.sql diff --git a/coderd/database/migrations/000322_rename_test_notification.down.sql b/coderd/database/migrations/000322_rename_test_notification.down.sql new file mode 100644 index 0000000000000..06bfab4370d1d --- /dev/null +++ b/coderd/database/migrations/000322_rename_test_notification.down.sql @@ -0,0 +1,3 @@ +UPDATE notification_templates +SET name = 'Test Notification' +WHERE id = 'c425f63e-716a-4bf4-ae24-78348f706c3f'; diff --git a/coderd/database/migrations/000322_rename_test_notification.up.sql b/coderd/database/migrations/000322_rename_test_notification.up.sql new file mode 100644 index 0000000000000..52b2db5a9353b --- /dev/null +++ b/coderd/database/migrations/000322_rename_test_notification.up.sql @@ -0,0 +1,3 @@ +UPDATE notification_templates +SET name = 'Troubleshooting Notification' +WHERE id = 'c425f63e-716a-4bf4-ae24-78348f706c3f'; From 5757c326145209de1c6dcbe466482abfa4b85cc0 Mon Sep 17 00:00:00 2001 From: Danielle Maywood Date: Tue, 13 May 2025 11:47:22 +0000 Subject: [PATCH 2/2] chore: update golden files --- .../webhook/TemplateTestNotification.json.golden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden b/coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden index 09c18f975d754..b26e3043b4f45 100644 --- a/coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden +++ b/coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden @@ -3,7 +3,7 @@ "msg_id": "00000000-0000-0000-0000-000000000000", "payload": { "_version": "1.2", - "notification_name": "Test Notification", + "notification_name": "Troubleshooting Notification", "notification_template_id": "00000000-0000-0000-0000-000000000000", "user_id": "00000000-0000-0000-0000-000000000000", "user_email": "bobby@coder.com", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy