diff options
author | Jonathan White <support@dmapps.us> | 2021-03-24 06:42:31 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2021-05-30 15:44:09 +0300 |
commit | 5be06190bb1afddcc8840616217ff46a0efaa3c9 (patch) | |
tree | e3db8a6470e0e00fe9fdc2d8800c433ef59b9e4b /tests/TestOpVaultReader.cpp | |
parent | b47272a5ce1ef391d881f8e5168afe0a8a96a6d6 (diff) |
OPVault: Use Text instead of Name for attribute and section names
* Fix #6303 - the text attribute in 1Password contains the actual text seen in 1Password whereas the name attribute may contain a ref pointer and not a name.
Diffstat (limited to 'tests/TestOpVaultReader.cpp')
-rw-r--r-- | tests/TestOpVaultReader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/TestOpVaultReader.cpp b/tests/TestOpVaultReader.cpp index 94b5c35f0..dc5c04e3f 100644 --- a/tests/TestOpVaultReader.cpp +++ b/tests/TestOpVaultReader.cpp @@ -97,10 +97,10 @@ void TestOpVaultReader::testReadIntoDatabase() entry = db->rootGroup()->findEntryByPath("/Credit Card/My Credit Card"); QVERIFY(entry); auto attr = entry->attributes(); - QCOMPARE(attr->value("cardholder"), QStringLiteral("Team KeePassXC")); - QVERIFY(!attr->value("validFrom").isEmpty()); - QCOMPARE(attr->value("details_pin"), QStringLiteral("1234")); - QVERIFY(attr->isProtected("details_pin")); + QCOMPARE(attr->value("cardholder name"), QStringLiteral("Team KeePassXC")); + QVERIFY(!attr->value("valid from").isEmpty()); + QCOMPARE(attr->value("Additional Details_PIN"), QStringLiteral("1234")); + QVERIFY(attr->isProtected("Additional Details_PIN")); // Confirm address fields entry = db->rootGroup()->findEntryByPath("/Identity/Team KeePassXC"); |