diff --git a/x-pack/test/encrypted_saved_objects_api_integration/tests/encrypted_saved_objects_api.ts b/x-pack/test/encrypted_saved_objects_api_integration/tests/encrypted_saved_objects_api.ts index 54c74554c9bdbc..637bb7c2022419 100644 --- a/x-pack/test/encrypted_saved_objects_api_integration/tests/encrypted_saved_objects_api.ts +++ b/x-pack/test/encrypted_saved_objects_api_integration/tests/encrypted_saved_objects_api.ts @@ -29,10 +29,10 @@ export default function ({ getService }: FtrProviderContext) { async function getRawSavedObjectAttributes({ id, type }: SavedObject) { const { _source: { [type]: savedObject }, - } = await es.get({ + } = await es.get>({ id: generateRawID(id, type), index: '.kibana', - }); + } as any); return savedObject; }