diff --git a/opencti-platform/opencti-graphql/tests/03-streams/00-Raw/raw-test.js b/opencti-platform/opencti-graphql/tests/03-streams/00-Raw/raw-test.js index 4215933e2c39..997d23332831 100644 --- a/opencti-platform/opencti-graphql/tests/03-streams/00-Raw/raw-test.js +++ b/opencti-platform/opencti-graphql/tests/03-streams/00-Raw/raw-test.js @@ -62,7 +62,7 @@ describe('Raw streams tests', () => { expect(updateEventsByTypes['malware'].length).toBe(16); expect(updateEventsByTypes['intrusion-set'].length).toBe(4); expect(updateEventsByTypes['data-component'].length).toBe(4); - expect(updateEventsByTypes['location'].length).toBe(12); + expect(updateEventsByTypes['location'].length).toBe(13); expect(updateEventsByTypes['attack-pattern'].length).toBe(3); expect(updateEventsByTypes['feedback'].length).toBe(1); expect(updateEventsByTypes['course-of-action'].length).toBe(3); @@ -82,7 +82,7 @@ describe('Raw streams tests', () => { expect(updateEventsByTypes['threat-actor'].length).toBe(17); expect(updateEventsByTypes['vocabulary'].length).toBe(3); expect(updateEventsByTypes['vulnerability'].length).toBe(3); - expect(updateEvents.length).toBe(161); + expect(updateEvents.length).toBe(162); for (let updateIndex = 0; updateIndex < updateEvents.length; updateIndex += 1) { const event = updateEvents[updateIndex]; const { data: insideData, origin, type } = event; diff --git a/opencti-platform/opencti-graphql/tests/utils/testQuery.ts b/opencti-platform/opencti-graphql/tests/utils/testQuery.ts index 38d2f7fa5915..9e1395d4d3fb 100644 --- a/opencti-platform/opencti-graphql/tests/utils/testQuery.ts +++ b/opencti-platform/opencti-graphql/tests/utils/testQuery.ts @@ -22,7 +22,7 @@ export const SYNC_LIVE_START_REMOTE_URI = conf.get('app:sync_live_start_remote_u export const SYNC_DIRECT_START_REMOTE_URI = conf.get('app:sync_direct_start_remote_uri'); export const SYNC_RESTORE_START_REMOTE_URI = conf.get('app:sync_restore_start_remote_uri'); export const SYNC_TEST_REMOTE_URI = `http://api-tests:${PORT}`; -export const RAW_EVENTS_SIZE = 1088; +export const RAW_EVENTS_SIZE = 1089; export const SYNC_LIVE_EVENTS_SIZE = 608; export const PYTHON_PATH = './src/python/testing';