From 100a24a53c862201d1fcaaf81c6faacb694d37e9 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 6 Feb 2015 19:23:07 +0100 Subject: changed name of text field from content to default. --- test/core/model/TestDocument.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/core/model/TestDocument.hpp') 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 constructBookDocument(Manager &mgr, Logger &logger, // And its primitive content Variant text{"Some introductory text"}; Rooted foreword_primitive{ - new DocumentPrimitive(mgr, foreword_text, text, "content")}; + new DocumentPrimitive(mgr, foreword_text, text, DEFAULT_FIELD_NAME)}; // Add a section. Rooted section = buildStructuredEntity(doc, logger, root, {"section"}); @@ -79,7 +79,7 @@ static Rooted constructBookDocument(Manager &mgr, Logger &logger, // And its primitive content text = Variant{"Some actual text"}; Rooted main_primitive{ - new DocumentPrimitive(mgr, main_text, text, "content")}; + new DocumentPrimitive(mgr, main_text, text, DEFAULT_FIELD_NAME)}; if (main_primitive.isNull()) { return {nullptr}; } -- cgit v1.2.3