testing: fixed testAddBothSides + VJOURNAL

The test fails if properties are involved which get
concatenated by the Synthesis engine during merging. Need
to remove those also for VJOURNAL.
This commit is contained in:
Patrick Ohly 2012-07-10 07:30:47 +00:00
parent 2673b67981
commit 82ec2e06a9

View file

@ -4686,8 +4686,11 @@ void SyncTests::testAddBothSides()
std::string updateItem = sources[0].second->config.m_updateItem;
if (addBothSidesNoMergeLines) {
// VEVENT
boost::replace_all(updateItem, "LOCATION:big meeting room", "LOCATION:my office");
boost::replace_all(updateItem, "DESCRIPTION:nice to see you", "DESCRIPTION:let's talk<<REVISION>>");
// VJOURNAL
boost::replace_all(updateItem, "DESCRIPTION:Summary\\nBody text", "DESCRIPTION:Summary Modified\\nBody text");
}
CT_ASSERT_NO_THROW(sources[0].second->insert(sources[0].second->createSourceA,