aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/tests/testxml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/tests/testxml.cpp')
-rw-r--r--document/src/tests/testxml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/tests/testxml.cpp b/document/src/tests/testxml.cpp
index 4cc1306ff45..09c2ef86279 100644
--- a/document/src/tests/testxml.cpp
+++ b/document/src/tests/testxml.cpp
@@ -73,7 +73,7 @@ createTestDocumentUpdate(const DocumentTypeRepo& repo)
const DocumentType* type(repo.getDocumentType("testdoc"));
DocumentId id("doc:crawler/http://www.ntnu.no/");
- DocumentUpdate::UP up(new DocumentUpdate(*type, id));
+ DocumentUpdate::UP up(new DocumentUpdate(repo, *type, id));
up->addUpdate(FieldUpdate(type->getField("intattr"))
.addUpdate(AssignValueUpdate(IntFieldValue(7))));
up->addUpdate(FieldUpdate(type->getField("stringattr"))