Remove obsolete read only state from database. (#7324)

This commit is contained in:
Patrick Klein
2022-01-29 03:26:53 +01:00
committed by GitHub
parent c914c116e4
commit bce8c84c26
13 changed files with 28 additions and 120 deletions

View File

@@ -1782,7 +1782,7 @@ void TestGui::checkDatabase(const QString& filePath, const QString& expectedDbNa
auto key = QSharedPointer<CompositeKey>::create();
key->addKey(QSharedPointer<PasswordKey>::create("a"));
auto dbSaved = QSharedPointer<Database>::create();
QVERIFY(dbSaved->open(filePath, key, nullptr, false));
QVERIFY(dbSaved->open(filePath, key, nullptr));
QCOMPARE(dbSaved->metadata()->name(), expectedDbName);
}