mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-05 13:50:15 -04:00
Add check to test case
This commit is contained in:
parent
2a287f6884
commit
ffb9b111fd
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue