diff --git a/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/__tests__/sendWarehouseTestEvent.test.ts b/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/__tests__/sendWarehouseTestEvent.test.ts index 0bd6b728a355..f515d2fd56af 100644 --- a/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/__tests__/sendWarehouseTestEvent.test.ts +++ b/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/__tests__/sendWarehouseTestEvent.test.ts @@ -28,6 +28,7 @@ describe('sendWarehouseTestEvent', () => { defaultFlags: {}, enableEvents: true, environmentID: 'env-key-123', + identity: 'test_warehouse_user', preventFetch: true, }), ) diff --git a/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/sendWarehouseTestEvent.ts b/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/sendWarehouseTestEvent.ts index 2d670b117f3c..17d1db5c8d6e 100644 --- a/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/sendWarehouseTestEvent.ts +++ b/frontend/web/components/pages/environment-settings/tabs/warehouse-tab/sendWarehouseTestEvent.ts @@ -20,6 +20,7 @@ const sendWarehouseTestEvent = async (environmentId: string): Promise => { enableEvents: true, environmentID: environmentId, fetch: globalThis.fetch.bind(globalThis), + identity: 'test_warehouse_user', preventFetch: true, ...(Project.flagsmithClientEventsAPI && { eventProcessorConfig: {