diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-11-14 21:20:49 +0100 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2019-01-21 15:09:27 +0100 |
commit | 8b89262a4d72f3685fdfc95fbf8462c49b6da407 (patch) | |
tree | 741d13434954260b540397e721447b616c247989 /document | |
parent | 9a380da57ac0b59359a26ebcb79be04b9400d892 (diff) |
Order is changed.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/tests/documentupdatetestcase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/document/src/tests/documentupdatetestcase.cpp b/document/src/tests/documentupdatetestcase.cpp index b4d98f0dd21..25c21f5c2de 100644 --- a/document/src/tests/documentupdatetestcase.cpp +++ b/document/src/tests/documentupdatetestcase.cpp @@ -553,7 +553,7 @@ void DocumentUpdateTest::testReadSerializedFile() CPPUNIT_ASSERT_EQUAL(*type, upd.getType()); // Verify assign value update. - FieldUpdate serField = upd.getUpdates()[0]; + FieldUpdate serField = upd.getUpdates()[2]; CPPUNIT_ASSERT_EQUAL(serField.getField().getId(), type->getField("intfield").getId()); const ValueUpdate* serValue = &serField[0]; @@ -571,7 +571,7 @@ void DocumentUpdateTest::testReadSerializedFile() CPPUNIT_ASSERT(serValue->inherits(ClearValueUpdate::classId)); // Verify add value update. - serField = upd.getUpdates()[2]; + serField = upd.getUpdates()[0]; CPPUNIT_ASSERT_EQUAL(serField.getField().getId(), type->getField("arrayoffloatfield").getId()); serValue = &serField[0]; |