diff options
Diffstat (limited to 'tests/tst_UpdateChecker.cpp')
-rw-r--r-- | tests/tst_UpdateChecker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tst_UpdateChecker.cpp b/tests/tst_UpdateChecker.cpp index 0dcb242f..40232afe 100644 --- a/tests/tst_UpdateChecker.cpp +++ b/tests/tst_UpdateChecker.cpp @@ -4,6 +4,7 @@ #include "depends/settings/settingsobject.h" #include "depends/settings/setting.h" +#include "Config.h" #include "TestUtil.h" #include "logic/updater/UpdateChecker.h" @@ -154,7 +155,7 @@ slots: QFETCH(QList<QVariant>, result); MMC->settings()->set("UpdateChannel", channel); - MMC->m_version.build = currentBuild; + BuildConfig.VERSION_BUILD = currentBuild; UpdateChecker checker; checker.setChannelListUrl(channelUrl); |