diff --git a/x-pack/test/saved_object_api_integration/common/suites/find_relationships.ts b/x-pack/test/saved_object_api_integration/common/suites/find_relationships.ts index 739e318e009e2b1..4f278abbba1e5ef 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/find_relationships.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/find_relationships.ts @@ -99,7 +99,14 @@ export function findRelationshipsTestSuiteFactory(esArchiver: any, supertest: Su const createExpectSpaceAwareResults = (spaceId = DEFAULT_SPACE_ID) => (resp: { [key: string]: any; }) => { - expect(resp.body).to.have.property('dashboard'); + expect(resp.body).to.eql({ + dashboard: [ + { + id: `${getIdPrefix(spaceId)}be3733a0-9efe-11e7-acb3-3dab96693fab`, + title: 'Requests', + }, + ], + }); }; const makeFindRelationshipsTest = (describeFn: DescribeFn) => (