Commit 9ca82cb8 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

ItemSearchJobTest: don't set resources offline on test start

This test needs the resources to be online for remote search test.
parent 232d2313
...@@ -47,11 +47,6 @@ private Q_SLOTS: ...@@ -47,11 +47,6 @@ private Q_SLOTS:
void initTestCase() void initTestCase()
{ {
AkonadiTest::checkTestIsIsolated(); AkonadiTest::checkTestIsIsolated();
AkonadiTest::setAllResourcesOffline();
Akonadi::AgentInstance agent = Akonadi::AgentManager::self()->instance(QStringLiteral("akonadi_knut_resource_0"));
QVERIFY(agent.isValid());
agent.setIsOnline(true);
QTRY_VERIFY(agent.isOnline());
} }
void testItemSearch_data() void testItemSearch_data()
......
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