diff --git a/packages/did-core-test-server/suites/did-core-properties/did-metadata-structure.js b/packages/did-core-test-server/suites/did-core-properties/did-metadata-structure.js index dee019a7..d26ea746 100644 --- a/packages/did-core-test-server/suites/did-core-properties/did-metadata-structure.js +++ b/packages/did-core-test-server/suites/did-core-properties/did-metadata-structure.js @@ -23,7 +23,7 @@ const didMetadataStructureTest_Map_Recursive = (didDocumentMetadata) => { 'MUST be one of these data types as well.', () => { Object.keys(didDocumentMetadata).forEach((property_name) => { if (typeof didDocumentMetadata[property_name] == "object") { - didMetadataStructureTest_r(didDocumentMetadata[property_name]); + didMetadataStructureTest_Map_Recursive(didDocumentMetadata[property_name]); } }); });