summaryrefslogtreecommitdiffstats
path: root/document/src/tests/documentupdatetestcase.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-08-21 11:59:54 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-08-21 20:27:38 +0000
commit661856ff8cc4e1e1a454bdd34b36463a4c42d20d (patch)
tree106f2c88ae37222a0320274959dcaa15cb14ee1a /document/src/tests/documentupdatetestcase.cpp
parente931d5321e5717a2d6ecca32a0b8880e0e29caa3 (diff)
Do not generate old formats, not even in tests.
Diffstat (limited to 'document/src/tests/documentupdatetestcase.cpp')
-rw-r--r--document/src/tests/documentupdatetestcase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/tests/documentupdatetestcase.cpp b/document/src/tests/documentupdatetestcase.cpp
index 88795041951..031cf1e400a 100644
--- a/document/src/tests/documentupdatetestcase.cpp
+++ b/document/src/tests/documentupdatetestcase.cpp
@@ -549,7 +549,7 @@ TEST(DocumentUpdateTest, testGenerateSerializedFile)
ArithmeticValueUpdate(ArithmeticValueUpdate::Add, 2)))
.addUpdate(MapValueUpdate(StringFieldValue("foo"),
ArithmeticValueUpdate(ArithmeticValueUpdate::Mul, 2))));
- ByteBuffer::UP buf(serialize42(upd));
+ ByteBuffer::UP buf(serializeHEAD(upd));
writeBufferToFile(*buf, "data/serializeupdatecpp.dat");
}