Commit dfec7e96 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Laurent Montel
Browse files

Fix export tests by adding a dummy exportdatatype.xml file again

parent dfff1f08
Pipeline #75998 passed with stage
in 6 minutes and 47 seconds
......@@ -10,6 +10,7 @@
#include "abstractimportexportjob.h"
#include "utils.h"
#include <QTemporaryFile>
#include <QDir>
#include <QSignalSpy>
#include <QTest>
......@@ -56,7 +57,9 @@ void TestExportFile::start()
//TODO fix file name.
Utils::addVersion(mArchiveStorage->archive());
Utils::storeDataExportInfo(mArchiveStorage->archive(), QString()); //TODO fix me ?
QTemporaryFile exportedFileInfoDummy;
exportedFileInfoDummy.open();
Utils::storeDataExportInfo(mArchiveStorage->archive(), exportedFileInfoDummy.fileName());
QSignalSpy finish(mAbstractImportExportJob, &AbstractImportExportJob::jobFinished);
QSignalSpy error(mAbstractImportExportJob, &AbstractImportExportJob::error);
......
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