Commit be74d367 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix url

parent adddf553
...@@ -71,7 +71,7 @@ void ImportAddressbookJobInterfaceTest::importAddressbookConfig() ...@@ -71,7 +71,7 @@ void ImportAddressbookJobInterfaceTest::importAddressbookConfig()
{ {
QFETCH(QString, zipFilePath); QFETCH(QString, zipFilePath);
QFETCH(QString, testPath); QFETCH(QString, testPath);
TestImportFile *file = new TestImportFile(zipFilePath, this); TestImportFile *file = new TestImportFile(zipFilePath + testPath, this);
file->setPathConfig(zipFilePath + testPath); file->setPathConfig(zipFilePath + testPath);
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
ImportAddressbookJobInterfaceTestImpl *impl = new ImportAddressbookJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1); ImportAddressbookJobInterfaceTestImpl *impl = new ImportAddressbookJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1);
......
...@@ -58,7 +58,7 @@ void ImportAkregatorJobInterfaceTest::importCalendarConfig() ...@@ -58,7 +58,7 @@ void ImportAkregatorJobInterfaceTest::importCalendarConfig()
{ {
QFETCH(QString, zipFilePath); QFETCH(QString, zipFilePath);
QFETCH(QString, testPath); QFETCH(QString, testPath);
TestImportFile *file = new TestImportFile(zipFilePath, this); TestImportFile *file = new TestImportFile(zipFilePath + testPath, this);
file->setPathConfig(zipFilePath + testPath); file->setPathConfig(zipFilePath + testPath);
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
ImportAkregatorJobInterfaceTestImpl *impl = new ImportAkregatorJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1); ImportAkregatorJobInterfaceTestImpl *impl = new ImportAkregatorJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1);
......
...@@ -71,7 +71,7 @@ void ImportAlarmJobInterfaceTest::importCalendarConfig() ...@@ -71,7 +71,7 @@ void ImportAlarmJobInterfaceTest::importCalendarConfig()
{ {
QFETCH(QString, zipFilePath); QFETCH(QString, zipFilePath);
QFETCH(QString, testPath); QFETCH(QString, testPath);
TestImportFile *file = new TestImportFile(zipFilePath, this); TestImportFile *file = new TestImportFile(zipFilePath + testPath, this);
file->setPathConfig(zipFilePath + testPath); file->setPathConfig(zipFilePath + testPath);
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
ImportAlarmJobInterfaceTestImpl *impl = new ImportAlarmJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1); ImportAlarmJobInterfaceTestImpl *impl = new ImportAlarmJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1);
......
...@@ -71,7 +71,7 @@ void ImportCalendarJobInterfaceTest::importCalendarConfig() ...@@ -71,7 +71,7 @@ void ImportCalendarJobInterfaceTest::importCalendarConfig()
{ {
QFETCH(QString, zipFilePath); QFETCH(QString, zipFilePath);
QFETCH(QString, testPath); QFETCH(QString, testPath);
TestImportFile *file = new TestImportFile(zipFilePath, this); TestImportFile *file = new TestImportFile(zipFilePath + testPath, this);
file->setPathConfig(zipFilePath + testPath); file->setPathConfig(zipFilePath + testPath);
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
ImportCalendarJobInterfaceTestImpl *impl = new ImportCalendarJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1); ImportCalendarJobInterfaceTestImpl *impl = new ImportCalendarJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1);
......
...@@ -81,7 +81,7 @@ void ImportMailJobInterfaceTest::importMailConfig() ...@@ -81,7 +81,7 @@ void ImportMailJobInterfaceTest::importMailConfig()
{ {
QFETCH(QString, zipFilePath); QFETCH(QString, zipFilePath);
QFETCH(QString, testPath); QFETCH(QString, testPath);
TestImportFile *file = new TestImportFile(zipFilePath, this); TestImportFile *file = new TestImportFile(zipFilePath + testPath, this);
file->setPathConfig(zipFilePath + testPath); file->setPathConfig(zipFilePath + testPath);
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
ImportMailJobInterfaceTestImpl *impl = new ImportMailJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1); ImportMailJobInterfaceTestImpl *impl = new ImportMailJobInterfaceTestImpl(this, {Utils::StoredType::Config}, file->archiveStorage(), 1);
......
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