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
Update secret-rotations.spec.ts
Daniel Hougaard85198594cd06
diff --git a/backend/e2e-test/routes/v3/secret-rotations.spec.ts b/backend/e2e-test/routes/v3/secret-rotations.spec.tsindex 9b5eba5ff7..00fc2df923 100644--- a/backend/e2e-test/routes/v3/secret-rotations.spec.ts+++ b/backend/e2e-test/routes/v3/secret-rotations.spec.ts@@ -297,13 +297,25 @@ const createOracleDBSecretRotation = async (await createOracleInfisicalUsers(credentials, userCredentials);const createOracleDBSecretRotationReqBody = {- parameters: userCredentials.reduce(- (acc, user, index) => {- acc[`username${index + 1}`] = user.username;- return acc;- },- {} as Record<string, string>- ),+ parameters: {+ ...userCredentials.reduce(+ (acc, user, index) => {+ acc[`username${index + 1}`] = user.username;+ return acc;+ },+ {} as Record<string, string>+ ),+ passwordRequirements: {+ length: 30,+ required: {+ digits: 2,+ lowercase: 12,+ uppercase: 2,+ symbols: 2+ },+ allowedSymbols: "_"+ }+ },secretsMapping: {username: secretMapping.username,password: secretMapping.password@@ -331,8 +343,6 @@ const createOracleDBSecretRotation = async (body: createOracleDBSecretRotationReqBody});- console.log(res.payload);-expect(res.statusCode).toBe(200);expect(res.json().secretRotation).toBeDefined();