diff --git a/tests/helpers/test-factory.ts b/tests/helpers/test-factory.ts index 9b276f40..40bbe325 100644 --- a/tests/helpers/test-factory.ts +++ b/tests/helpers/test-factory.ts @@ -155,7 +155,7 @@ export function createRelateParams(from: string, to: string, overrides: Partial< return { from, to, - type: 'RelatedTo' as VerbType, + type: 'relatedTo' as VerbType, weight: 1.0, metadata: generateTestMetadata(), service: 'test', @@ -259,10 +259,10 @@ export function createKnowledgeGraphTestData() { ] const relations = [ - createTestRelation({ from: 'earth', to: 'sun', type: 'DependsOn' as VerbType }), - createTestRelation({ from: 'moon', to: 'earth', type: 'DependsOn' as VerbType }), - createTestRelation({ from: 'mars', to: 'sun', type: 'DependsOn' as VerbType }), - createTestRelation({ from: 'earth', to: 'moon', type: 'Contains' as VerbType }), + createTestRelation({ from: 'earth', to: 'sun', type: 'dependsOn' as VerbType }), + createTestRelation({ from: 'moon', to: 'earth', type: 'dependsOn' as VerbType }), + createTestRelation({ from: 'mars', to: 'sun', type: 'dependsOn' as VerbType }), + createTestRelation({ from: 'earth', to: 'moon', type: 'contains' as VerbType }), ] return { entities, relations }