diff --git a/opencti-platform/opencti-graphql/tests/02-integration/01-database/filterGroup-test.js b/opencti-platform/opencti-graphql/tests/02-integration/01-database/filterGroup-test.js index 4efd5ef89d95d..dcd2096b1d98f 100644 --- a/opencti-platform/opencti-graphql/tests/02-integration/01-database/filterGroup-test.js +++ b/opencti-platform/opencti-graphql/tests/02-integration/01-database/filterGroup-test.js @@ -246,9 +246,9 @@ describe('Complex filters combinations for elastic queries', () => { }, } }); - expect(queryResult.data.reports.edges.length).toEqual(5); // the 4 reports created + the report in DATA-TEST-STIX2_v2.json + expect(queryResult.data.reports.edges.length).toEqual(6); // the 4 reports created + the 2 report in DATA-TEST-STIX2_v2.json queryResult = await queryAsAdmin({ query: REPORT_LIST_QUERY }); - expect(queryResult.data.reports.edges.length).toEqual(5); + expect(queryResult.data.reports.edges.length).toEqual(6); }); it('should list entities according to filters: one filter', async () => { const queryResult = await queryAsAdmin({