diff --git a/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts b/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts index ad446c6a7a..a86acc3138 100644 --- a/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts +++ b/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts @@ -186,7 +186,7 @@ describe('BuiltinKindsEntityProcessor', () => { await expect( processor.postProcessEntity(entity, location, emit), ).rejects.toThrowError( - 'Entity reference kind is undefined and has no default', + 'Entity reference "r" did not specify a kind (e.g. starting with "Component:"), and has no default', ); }); @@ -334,14 +334,14 @@ describe('BuiltinKindsEntityProcessor', () => { spec: { type: 'database', owner: 'o', - dependsOn: ['r'], + dependsOn: ['c'], system: 's', }, }; await expect( processor.postProcessEntity(entity, location, emit), ).rejects.toThrowError( - 'Entity reference kind is undefined and has no default', + 'Entity reference "c" did not specify a kind (e.g. starting with "Component:"), and has no default', ); });