Skip to content

Commit 1f89b8f

Browse files
committed
[backend] Update retentionManager-test to take into account new file (bis)
1 parent 18ac4ab commit 1f89b8f

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
@@ -294,7 +294,7 @@ describe('Retention Manager tests ', () => {
294294
expect(filesToDelete.edges[0].node.id).toEqual(fileId);
295295
// retention rule on all the files
296296
const filesToDelete2 = await getElementsToDelete(context, 'file', utcDate());
297-
expect(filesToDelete2.edges.length).toEqual(8); // all the files that has not been modified since now and with uploadStatus = complete
297+
expect(filesToDelete2.edges.length).toEqual(9); // all the files that has not been modified since now and with uploadStatus = complete
298298
});
299299
it('should fetch the correct files to be deleted by a retention rule on workbenches', async () => {
300300
// retention rule on workbenches not modified since 2023-07-01

0 commit comments

Comments
 (0)