From b0788f410f1fdcdc578aa41c3b38ccbad9ed6aad Mon Sep 17 00:00:00 2001 From: Danielle Maywood Date: Tue, 13 May 2025 13:52:55 +0100 Subject: [PATCH] chore: rename "Test Notification" to "Troubleshooting Notification" (#17790) Rename the "Test Notification" to "Troubleshooting Notification" --- .../migrations/000322_rename_test_notification.down.sql | 3 +++ .../database/migrations/000322_rename_test_notification.up.sql | 3 +++ .../webhook/TemplateTestNotification.json.golden | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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 0000000000..06bfab4370 --- /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 0000000000..52b2db5a93 --- /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'; diff --git a/coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden b/coderd/notifications/testdata/rendered-templates/webhook/TemplateTestNotification.json.golden index 09c18f975d..b26e3043b4 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",