summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/core/model/TestDocumentBuilder.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/model/TestDocumentBuilder.hpp b/test/core/model/TestDocumentBuilder.hpp
index 5896802..ae7b3fd 100644
--- a/test/core/model/TestDocumentBuilder.hpp
+++ b/test/core/model/TestDocumentBuilder.hpp
@@ -169,7 +169,7 @@ Rooted<StructuredEntity> buildStructuredEntity(
fieldName + "!");
return {nullptr};
}
- parent->addStructuredEntity(entity, fieldName);
+ parent->addStructureNode(entity, fieldName);
// and return it.
return entity;
@@ -208,7 +208,7 @@ Rooted<DocumentPrimitive> buildPrimitiveEntity(
fieldName + "!");
return {nullptr};
}
- parent->addStructuredEntity(entity, fieldName);
+ parent->addStructureNode(entity, fieldName);
// and return it.
return entity;
}
@@ -246,7 +246,7 @@ Rooted<AnnotationEntity::Anchor> buildAnchor(Logger &logger,
fieldName + "!");
return {nullptr};
}
- parent->addStructuredEntity(anchor, fieldName);
+ parent->addStructureNode(anchor, fieldName);
// and return it.
return anchor;
}