From b28e06608c0f6d9e82bc8b1418f2f516e7347692 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 14 Jun 2017 12:03:10 +0200 Subject: [PATCH] SyncEngineTest: Send 'checksums' in FakePropfind --- test/syncenginetestutils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h index 5be71e0f7..fe4676821 100644 --- a/test/syncenginetestutils.h +++ b/test/syncenginetestutils.h @@ -282,6 +282,7 @@ public: QDateTime lastModified = QDateTime::currentDateTime().addDays(-7); QString etag = generateEtag(); QByteArray fileId = generateFileId(); + QByteArray checksums; qint64 size = 0; char contentChar = 'W'; @@ -352,6 +353,7 @@ public: xml.writeTextElement(davUri, QStringLiteral("getetag"), fileInfo.etag); xml.writeTextElement(ocUri, QStringLiteral("permissions"), fileInfo.isShared ? QStringLiteral("SRDNVCKW") : QStringLiteral("RDNVCKW")); xml.writeTextElement(ocUri, QStringLiteral("id"), fileInfo.fileId); + xml.writeTextElement(ocUri, QStringLiteral("checksums"), fileInfo.checksums); xml.writeEndElement(); // prop xml.writeTextElement(davUri, QStringLiteral("status"), "HTTP/1.1 200 OK"); xml.writeEndElement(); // propstat