Add tests for modified, fix history for autotype

Added tests to ensure #1387 works
Fixed issue detected during testing - AutoTypeAssociations were not
pushed to history
This commit is contained in:
Christian Kieschnick
2018-01-15 18:17:56 +01:00
committed by Janek Bevendorff
parent 045f157a63
commit 943dc6cdd6
4 changed files with 57 additions and 5 deletions

View File

@@ -20,7 +20,6 @@
#include <QTest>
#include "core/Database.h"
#include "core/Entry.h"
#include "core/Group.h"
#include "crypto/Crypto.h"
@@ -48,6 +47,7 @@ void TestEntry::testHistoryItemDeletion()
delete entry;
}
void TestEntry::testCopyDataFrom()
{
Entry* entry = new Entry();