summaryrefslogtreecommitdiff
path: root/migrationutility/tests/migrationtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/tests/migrationtest.cpp')
-rw-r--r--migrationutility/tests/migrationtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrationutility/tests/migrationtest.cpp b/migrationutility/tests/migrationtest.cpp
index ffc8c7d..f29b946 100644
--- a/migrationutility/tests/migrationtest.cpp
+++ b/migrationutility/tests/migrationtest.cpp
@@ -29,7 +29,7 @@ void MigrationTest::testUsersProcessed()
KolabServer *kolabServer = new KolabServer(this);
kolabServer->setDryRun(true);
CoordinationJob *job = new CoordinationJob(server, kolabServer, this);
- job->exec();
+ QVERIFY(job->exec());
QVERIFY(server->mUsers.isEmpty());
}
@@ -39,7 +39,7 @@ void MigrationTest::testFoldersProcessed()
KolabAccount *kolabTargetAccount = new KolabAccount(this);
kolabTargetAccount->setDryRun(true);
MigrateUserJob *job = new MigrateUserJob(QList<SourceAccount*>() << testSourceAccount, kolabTargetAccount, this);
- job->exec();
+ QVERIFY(job->exec());
QVERIFY(testSourceAccount->mFolderList.isEmpty());
}