diff options
author | louib <louib@users.noreply.github.com> | 2018-12-11 18:49:51 +0300 |
---|---|---|
committer | Janek Bevendorff <janek@jbev.net> | 2018-12-11 18:49:51 +0300 |
commit | cb3c4893dce571c9cbfb7f32ee4580f24bb05108 (patch) | |
tree | 654c8ae2ee46c989da0b1f4338af6508708f8209 /tests/TestCli.cpp | |
parent | b6eeabab5ecddc78af41fac111e370036db0de7f (diff) |
Move unlockDatabase to CLI/Utils (#2539)
Move unlockDatabase from Database to to cli/Utils
Diffstat (limited to 'tests/TestCli.cpp')
-rw-r--r-- | tests/TestCli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestCli.cpp b/tests/TestCli.cpp index 435c2f6e2..430a3ba32 100644 --- a/tests/TestCli.cpp +++ b/tests/TestCli.cpp @@ -130,7 +130,7 @@ void TestCli::cleanupTestCase() QSharedPointer<Database> TestCli::readTestDatabase() const { Utils::Test::setNextPassword("a"); - auto db = QSharedPointer<Database>(Database::unlockFromStdin(m_dbFile->fileName(), "", m_stdoutHandle)); + auto db = QSharedPointer<Database>(Utils::unlockDatabase(m_dbFile->fileName(), "", m_stdoutHandle)); m_stdoutFile->seek(ftell(m_stdoutHandle)); // re-synchronize handles return db; } |