Skip to content

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

hard delete on e2e to not break tests

adilson8e7c2217c55e
diff --git a/backend/e2e-test/routes/v1/project-env.spec.ts b/backend/e2e-test/routes/v1/project-env.spec.ts
index 0726f3a507..6023a30f64 100644
--- a/backend/e2e-test/routes/v1/project-env.spec.ts
+++ b/backend/e2e-test/routes/v1/project-env.spec.ts
@@ -23,7 +23,7 @@ const createProjectEnvironment = async (name: string, slug: string) => {
const deleteProjectEnvironment = async (envId: string) => {
const res = await testServer.inject({
method: "DELETE",
- url: `/api/v1/workspace/${seedData1.project.id}/environments/${envId}`,
+ url: `/api/v1/workspace/${seedData1.project.id}/environments/${envId}?hardDelete=true`,
headers: {
authorization: `Bearer ${jwtAuthToken}`
}