[Pkg-owncloud-commits] [owncloud-client] 427/484: SyncJournalTest: Use valid time for the tests.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit e3a846bb1f3acfcd94039456579847f5017e043d
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Nov 25 22:16:29 2015 +0100
SyncJournalTest: Use valid time for the tests.
---
test/testsyncjournaldb.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/testsyncjournaldb.h b/test/testsyncjournaldb.h
index c869a32..1ca8470 100644
--- a/test/testsyncjournaldb.h
+++ b/test/testsyncjournaldb.h
@@ -99,7 +99,7 @@ private slots:
record._remotePerm = "744";
record._contentChecksum = "mychecksum";
record._contentChecksumType = "MD5";
- record._modtime = QDateTime::currentDateTime();
+ record._modtime = QDateTime::currentDateTimeUtc();
QVERIFY(_db.setFileRecord(record));
SyncJournalFileRecord storedRecord = _db.getFileRecord("foo-checksum");
@@ -119,6 +119,8 @@ private slots:
SyncJournalFileRecord record;
record._path = "foo-nochecksum";
record._remotePerm = "744";
+ record._modtime = QDateTime::currentDateTimeUtc();
+
QVERIFY(_db.setFileRecord(record));
SyncJournalFileRecord storedRecord = _db.getFileRecord("foo-nochecksum");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list