Commit 108a2446 authored by Matthieu Gallien's avatar Matthieu Gallien

fix execution of tests of database upgrade

parent b9fe1550
......@@ -4850,6 +4850,7 @@ private Q_SLOTS:
{
auto dbTestFile = QString{QStringLiteral(LOCAL_FILE_TESTS_WORKING_PATH) + QStringLiteral("/elisaDatabase.v0.3.db")};
auto dbOriginFile = QString{QStringLiteral(LOCAL_FILE_TESTS_SAMPLE_FILES_PATH) + QStringLiteral("/elisaDatabase.v0.3.db")};
QVERIFY(QDir().mkpath(QStringLiteral(LOCAL_FILE_TESTS_WORKING_PATH)));
QFile::remove(dbTestFile);
QFile::copy(dbOriginFile, dbTestFile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment