Skip to content

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

remove unused code from e2e test

adilsondbe71e8aba69
diff --git a/backend/e2e-test/routes/v2/secret-folder.spec.ts b/backend/e2e-test/routes/v2/secret-folder.spec.ts
index 2b935749b2..80c7469496 100644
--- a/backend/e2e-test/routes/v2/secret-folder.spec.ts
+++ b/backend/e2e-test/routes/v2/secret-folder.spec.ts
@@ -243,12 +243,7 @@ const deleteFolderInEnv = async (dto: { path: string; id: string; environment: s
return res.json().folder;
};
-const moveFolder = async (dto: {
- folderId: string;
- destinationEnvironment: string;
- destinationPath: string;
- shouldOverwrite?: boolean;
-}) =>
+const moveFolder = async (dto: { folderId: string; destinationEnvironment: string; destinationPath: string }) =>
testServer.inject({
method: "POST",
url: `/api/v2/folders/move`,
@@ -259,8 +254,7 @@ const moveFolder = async (dto: {
projectId: seedData1.projectV3.id,
folderId: dto.folderId,
destinationEnvironment: dto.destinationEnvironment,
- destinationPath: dto.destinationPath,
- shouldOverwrite: dto.shouldOverwrite ?? false
+ destinationPath: dto.destinationPath
}
});