aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-09-08 10:50:46 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-09-08 10:50:46 (GMT)
commitec825e98bd694c6b7f11d163da73477ebc27e8a1 (patch)
tree3ed7012844c2105154f65a0459064e4d89555ad7
parent0d123dd796966c50c35556b83bd7ebf2ec702712 (diff)
Fix AKONADI_OVERRIDE_SEARCHPLUGIN in MySQL/PSQL tests
-rw-r--r--autotests/libs/searchjobtest.cpp1
-rw-r--r--autotests/libs/unittestenv/config-mysql-fs.xml2
-rw-r--r--autotests/libs/unittestenv/config-postgresql-fs.xml2
3 files changed, 3 insertions, 2 deletions
diff --git a/autotests/libs/searchjobtest.cpp b/autotests/libs/searchjobtest.cpp
index 86e13bc..b132327 100644
--- a/autotests/libs/searchjobtest.cpp
+++ b/autotests/libs/searchjobtest.cpp
@@ -65,6 +65,7 @@ void SearchJobTest::testCreateDeleteSearch()
for (const auto &c : cols) {
if (c.name() == QLatin1String("search123456")) {
col = c;
+ break;
}
}
QVERIFY(col == created);
diff --git a/autotests/libs/unittestenv/config-mysql-fs.xml b/autotests/libs/unittestenv/config-mysql-fs.xml
index 63fb5e9..7454278 100644
--- a/autotests/libs/unittestenv/config-mysql-fs.xml
+++ b/autotests/libs/unittestenv/config-mysql-fs.xml
@@ -6,5 +6,5 @@
<agent synchronize="true">akonadi_knut_resource</agent>
<envvar name="AKONADI_DISABLE_AGENT_AUTOSTART">true</envvar>
<envvar name="TESTRUNNER_DB_ENVIRONMENT">mysql</envvar>
- <envvar name="AKONADI_OVERRIDE_SEARCHPLUGIN">testsearchplugin</envvar>
+ <envvar name="AKONADI_OVERRIDE_SEARCHPLUGIN">akonadi_test_searchplugin</envvar>
</config>
diff --git a/autotests/libs/unittestenv/config-postgresql-fs.xml b/autotests/libs/unittestenv/config-postgresql-fs.xml
index 7200eb7..8b628b8 100644
--- a/autotests/libs/unittestenv/config-postgresql-fs.xml
+++ b/autotests/libs/unittestenv/config-postgresql-fs.xml
@@ -6,5 +6,5 @@
<agent synchronize="true">akonadi_knut_resource</agent>
<envvar name="AKONADI_DISABLE_AGENT_AUTOSTART">true</envvar>
<envvar name="TESTRUNNER_DB_ENVIRONMENT">postgresql</envvar>
- <envvar name="AKONADI_OVERRIDE_SEARCHPLUGIN">testsearchplugin</envvar>
+ <envvar name="AKONADI_OVERRIDE_SEARCHPLUGIN">akonadi_test_searchplugin</envvar>
</config>