diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-06 19:23:07 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-06 19:23:07 +0100 |
commit | 100a24a53c862201d1fcaaf81c6faacb694d37e9 (patch) | |
tree | fb113b21febf539b39e1aa8e1141caf607e8e696 /test/core/model/TestDocument.hpp | |
parent | 577ed0ad24dd9ddb3639569307473feed52a76d3 (diff) |
changed name of text field from content to default.
Diffstat (limited to 'test/core/model/TestDocument.hpp')
-rw-r--r-- | test/core/model/TestDocument.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/model/TestDocument.hpp b/test/core/model/TestDocument.hpp index 0cb52a3..7675dab 100644 --- a/test/core/model/TestDocument.hpp +++ b/test/core/model/TestDocument.hpp @@ -60,7 +60,7 @@ static Rooted<Document> constructBookDocument(Manager &mgr, Logger &logger, // And its primitive content Variant text{"Some introductory text"}; Rooted<DocumentPrimitive> foreword_primitive{ - new DocumentPrimitive(mgr, foreword_text, text, "content")}; + new DocumentPrimitive(mgr, foreword_text, text, DEFAULT_FIELD_NAME)}; // Add a section. Rooted<StructuredEntity> section = buildStructuredEntity(doc, logger, root, {"section"}); @@ -79,7 +79,7 @@ static Rooted<Document> constructBookDocument(Manager &mgr, Logger &logger, // And its primitive content text = Variant{"Some actual text"}; Rooted<DocumentPrimitive> main_primitive{ - new DocumentPrimitive(mgr, main_text, text, "content")}; + new DocumentPrimitive(mgr, main_text, text, DEFAULT_FIELD_NAME)}; if (main_primitive.isNull()) { return {nullptr}; } |