mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Remove Tools::currentDateTimeUtc().
This commit is contained in:
@@ -237,7 +237,7 @@ void TestModified::testEntrySets()
|
||||
entry->setExpires(entry->timeInfo().expires());
|
||||
QCOMPARE(spyModified.count(), spyCount);
|
||||
|
||||
entry->setExpiryTime(Tools::currentDateTimeUtc().addYears(1));
|
||||
entry->setExpiryTime(QDateTime::currentDateTimeUtc().addYears(1));
|
||||
QCOMPARE(spyModified.count(), ++spyCount);
|
||||
entry->setExpiryTime(entry->timeInfo().expiryTime());
|
||||
QCOMPARE(spyModified.count(), spyCount);
|
||||
|
||||
Reference in New Issue
Block a user