summaryrefslogtreecommitdiff
path: root/test/core/model/TestAdvanced.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/model/TestAdvanced.hpp')
-rw-r--r--test/core/model/TestAdvanced.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/model/TestAdvanced.hpp b/test/core/model/TestAdvanced.hpp
index 56738af..5c709f0 100644
--- a/test/core/model/TestAdvanced.hpp
+++ b/test/core/model/TestAdvanced.hpp
@@ -130,7 +130,7 @@ static bool addText(Logger &logger, Handle<Document> doc,
// And the primitive content
Variant content_var{content.c_str()};
Rooted<DocumentPrimitive> primitive{new DocumentPrimitive(
- parent->getManager(), text, content_var, "content")};
+ parent->getManager(), text, content_var, DEFAULT_FIELD_NAME)};
return true;
}