mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 20:06:58 +03:00
NOISSUE Make tests no longer use the MultiMC object
They do not require the application part anymore
This commit is contained in:
parent
6f3aa65bd6
commit
9249768db5
12 changed files with 54 additions and 66 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue