mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 06:26:11 -05:00
Add check to test case
This commit is contained in:
parent
2a287f6884
commit
ffb9b111fd
@ -123,6 +123,8 @@ void TestEntry::testClone()
|
||||
QCOMPARE(entryCloneResetTime->title(), QString("New Title"));
|
||||
QCOMPARE(entryCloneResetTime->historyItems().size(), 0);
|
||||
QVERIFY(entryCloneResetTime->timeInfo().creationTime() != entryOrg->timeInfo().creationTime());
|
||||
// Cloning with CloneResetTimeInfo should not affect the LastModificationTime
|
||||
QCOMPARE(entryCloneResetTime->timeInfo().lastModificationTime(), entryOrg->timeInfo().lastModificationTime());
|
||||
|
||||
// Date back history of original entry
|
||||
Entry* firstHistoryItem = entryOrg->historyItems()[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user