diff options
Diffstat (limited to 'test/core/model/TestDocument.hpp')
-rw-r--r-- | test/core/model/TestDocument.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/model/TestDocument.hpp b/test/core/model/TestDocument.hpp index 243672b..0cb52a3 100644 --- a/test/core/model/TestDocument.hpp +++ b/test/core/model/TestDocument.hpp @@ -36,7 +36,7 @@ static Rooted<Document> constructBookDocument(Manager &mgr, Logger &logger, { // Start with the (empty) document. Rooted<Document> doc{new Document(mgr, "myDoc.oxd")}; - doc->addDomain(bookDomain); + doc->referenceDomain(bookDomain); // Add the root. Rooted<StructuredEntity> root = |