Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

make test generic

Thiago Araujo da Silva10df98cb2500
diff --git a/backend/src/services/alert/alert-test-payload-fns.ts b/backend/src/services/alert/alert-test-payload-fns.ts
index eb3cb4815c..63b7e132a4 100644
--- a/backend/src/services/alert/alert-test-payload-fns.ts
+++ b/backend/src/services/alert/alert-test-payload-fns.ts
@@ -9,11 +9,8 @@ const TEST_ALERT_NAME = "Sample alert";
const TEST_ITEMS = [
{
id: "sample",
- title: "Sample credential",
- fields: [
- { label: "Type", value: "Sample" },
- { label: "Expires", value: "7 days from now" }
- ]
+ title: "Sample item",
+ fields: [{ label: "Detail", value: "Sample value" }]
}
];
@@ -36,9 +33,9 @@ export const buildTestAlertPayload = ({
viewUrl: appCfg.SITE_URL ?? ""
},
eventKey: "alert.channel.test",
- eventLabel: "Expiry",
+ eventLabel: "Test",
webhookType: "com.infisical.alert.channel.test",
- resourceKind: "Sample Credential",
+ resourceKind: "Channel",
resourceOwnerKind: "resource",
severity: "info",
summary: "This is a test notification from Infisical, showing how a real alert will look",