summaryrefslogtreecommitdiff
path: root/migrationutility/tests/migrationscenariotest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/tests/migrationscenariotest.cpp')
-rw-r--r--migrationutility/tests/migrationscenariotest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrationutility/tests/migrationscenariotest.cpp b/migrationutility/tests/migrationscenariotest.cpp
index 1b7ec66..e4c441f 100644
--- a/migrationutility/tests/migrationscenariotest.cpp
+++ b/migrationutility/tests/migrationscenariotest.cpp
@@ -93,7 +93,7 @@ void MigrationScenarioTest::executeMigration(bool useStatefile)
kolabServer->setAdminCredentials(admin, adminpw);
CoordinationJob *job = new CoordinationJob(kolabSourceServer, kolabServer, &obj);
- job->exec();
+ QVERIFY(job->exec());
}
void MigrationScenarioTest::checkFolders(SourceAccount *account, const QList<Folder> &folders)
@@ -134,7 +134,7 @@ void MigrationScenarioTest::checkTargetAccount()
SourceAccount *account = kolabSourceServer->getSourceAccounts(user).first();
QVERIFY(account->login()->exec());
checkFolders(account, folders);
- account->logout();
+ QVERIFY(account->logout()->exec());
}
void MigrationScenarioTest::checkSourceAccount()