From 4ce09d3fc6d589fe08a8a8d624f18200d5bc24ab Mon Sep 17 00:00:00 2001 From: marie flores Date: Mon, 30 Sep 2024 19:48:23 +0200 Subject: [PATCH] [backend] fix counters --- .../tests/02-integration/01-database/filterGroup-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({