diff options
author | Jonathan White <support@dmapps.us> | 2020-03-04 17:37:13 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-03-08 00:52:24 +0300 |
commit | 91c6e436b3622015d5b7c27b6b5230bb1f285df7 (patch) | |
tree | 3a0239f991e871d0ecd42b1b3f70664b434ddde2 /tests | |
parent | 7ac292e09b31ecf56969755c2ddc70d0a64e9d69 (diff) |
Dynamically determine database validity
* Check that the database composite key exists, has sub-keys associated with it, and the root group exists.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestKeePass1Reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestKeePass1Reader.cpp b/tests/TestKeePass1Reader.cpp index 078447acb..30f744e28 100644 --- a/tests/TestKeePass1Reader.cpp +++ b/tests/TestKeePass1Reader.cpp @@ -106,7 +106,7 @@ void TestKeePass1Reader::testBasic() void TestKeePass1Reader::testMasterKey() { - QVERIFY(m_db->hasKey()); + QVERIFY(m_db->isInitialized()); QCOMPARE(m_db->kdf()->rounds(), 713); } |