Fix unexpected additional resolved urls in testIconDownloader

This commit is contained in:
AMurkin 2024-07-23 22:09:25 +03:00 committed by Jonathan White
parent 3c5f49dc5b
commit 9b4e6b4e11

View File

@ -1,6 +1,9 @@
#include "TestIconDownloader.h"
#include <QTest>
#include <gui/IconDownloader.h>
#include "core/Config.h"
#include "gui/IconDownloader.h"
QTEST_GUILESS_MAIN(TestIconDownloader)
@ -8,6 +11,7 @@ void TestIconDownloader::testIconDownloader()
{
QFETCH(QString, url);
QFETCH(QStringList, expectation);
config()->set(Config::Security_IconDownloadFallback, false);
IconDownloader downloader;
downloader.setUrl(url);