Skip to content

Commit f8aaca1

Browse files
committed
[backend] Update retentionManager-test to take into account new file (ter)
1 parent 36cc925 commit f8aaca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opencti-platform/opencti-graphql/tests/03-integration/04-manager/retentionManager-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ describe('Retention Manager tests ', () => {
336336
// delete file
337337
await deleteElement(context, 'file', fileId); // should delete fileToTestRetentionRule
338338
const files = await allFilesForPaths(testContext, ADMIN_USER, [globalPath]);
339-
expect(files.length).toEqual(8); // 7 files from index-file-test + the 2 created files - fileToTestRetentionRule that should have been deleted
339+
expect(files.length).toEqual(9); // 8 files from index-file-test + the 2 created files - fileToTestRetentionRule that should have been deleted
340340
// delete workbench
341341
await deleteElement(context, 'workbench', workbench1Id); // should delete workbench1
342342
const workbenches = await allFilesForPaths(testContext, ADMIN_USER, [pendingPath]);

0 commit comments

Comments
 (0)