Skip to content

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

remove not necessary test

adilson31ed5ec3e12e
diff --git a/backend/e2e-test/routes/v1/access-approval-global-request-lifecycle.spec.ts b/backend/e2e-test/routes/v1/access-approval-global-request-lifecycle.spec.ts
index ea95f5aa41..4a99c8d008 100644
--- a/backend/e2e-test/routes/v1/access-approval-global-request-lifecycle.spec.ts
+++ b/backend/e2e-test/routes/v1/access-approval-global-request-lifecycle.spec.ts
@@ -437,21 +437,6 @@ describe("Access approval request lifecycle on the global system", () => {
expect(request?.status).toBe("pending");
});
- test("Approval stands when a brace policy still covers the requested path", async () => {
- const secretPath = "/apps/blue";
- const { policy, requestId } = await openPendingRequest(secretPath);
-
- await getDb()(TableName.ApprovalPolicySecretEnvironment)
- .where({ policyId: policy.id })
- .update({ secretPath: "/apps/{blue,green}" });
-
- const approveRes = await reviewAccessRequest(requestId, { status: "approved" });
- expect(approveRes.statusCode).toBe(200);
-
- const request = await getDb()(TableName.ApprovalRequests).where({ id: requestId }).first();
- expect(request?.status).toBe("approved");
- });
-
test("Approval stands when a broader policy path still contains the requested glob", async () => {
const secretPath = "/scope-broader/*";
const { policy, requestId } = await openPendingRequest(secretPath);