From 9249768db5f5b09d67e81370da828e3cb99cc3df Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sat, 31 Jan 2015 19:21:47 +0100 Subject: NOISSUE Make tests no longer use the MultiMC object They do not require the application part anymore --- tests/tst_UpdateChecker.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/tst_UpdateChecker.cpp') diff --git a/tests/tst_UpdateChecker.cpp b/tests/tst_UpdateChecker.cpp index 49a4a6a3..75c5dcdd 100644 --- a/tests/tst_UpdateChecker.cpp +++ b/tests/tst_UpdateChecker.cpp @@ -140,7 +140,8 @@ slots: checker.updateChanList(false); QVERIFY(channelListLoadedSpy.wait()); - checker.m_channels[0].url = QUrl::fromLocalFile(QDir::current().absoluteFilePath("tests/data/")).toString(); + qDebug() << "CWD:" << QDir::current().absolutePath(); + checker.m_channels[0].url = findTestDataUrl("tests/data/"); checker.checkForUpdate(channel, false); @@ -151,6 +152,6 @@ slots: } }; -QTEST_GUILESS_MAIN_MULTIMC(UpdateCheckerTest) +QTEST_GUILESS_MAIN(UpdateCheckerTest) #include "tst_UpdateChecker.moc" -- cgit