Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
tests: fixed identity creation tests
Daniel Hougaard273c6b38429b
diff --git a/backend/e2e-test/routes/v1/identity.spec.ts b/backend/e2e-test/routes/v1/identity.spec.tsindex ccb530c796..f1cc6cf054 100644--- a/backend/e2e-test/routes/v1/identity.spec.ts+++ b/backend/e2e-test/routes/v1/identity.spec.ts@@ -34,7 +34,7 @@ describe("Identity v1", async () => {test("Create identity", async () => {const newIdentity = await createIdentity("mac1", OrgMembershipRole.Admin);expect(newIdentity.name).toBe("mac1");- expect(newIdentity.authMethod).toBeNull();+ expect(newIdentity.authMethods).toEqual([]);await deleteIdentity(newIdentity.id);});@@ -42,7 +42,7 @@ describe("Identity v1", async () => {test("Update identity", async () => {const newIdentity = await createIdentity("mac1", OrgMembershipRole.Admin);expect(newIdentity.name).toBe("mac1");- expect(newIdentity.authMethod).toBeNull();+ expect(newIdentity.authMethods).toEqual([]);const updatedIdentity = await testServer.inject({method: "PATCH",