testing: fix for UID mangling

The previous patch accidentally removed a line break. Apple Calendar
server complained about the missing DTSTAMP which then became
part of the UID.
This commit is contained in:
Patrick Ohly 2012-06-22 14:56:20 +00:00
parent 5644891884
commit 9afa9f023e
1 changed files with 1 additions and 1 deletions

View File

@ -6314,7 +6314,7 @@ static string mangleICalendar20(const std::string &data, bool update)
// Ensure that items of different types do not have the same UID.
// They might be stored in the same VCALENDAR.
boost::replace_all(item, "@dummy\n", "@dummy" + type);
boost::replace_all(item, "@dummy\n", "@dummy" + type + "\n");
if (getenv("CLIENT_TEST_UNIQUE_UID")) {
// Making UID unique per test to avoid issues