mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix unexpected additional resolved urls in testIconDownloader
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
#include "TestIconDownloader.h"
|
#include "TestIconDownloader.h"
|
||||||
|
|
||||||
#include <QTest>
|
#include <QTest>
|
||||||
#include <gui/IconDownloader.h>
|
|
||||||
|
#include "core/Config.h"
|
||||||
|
#include "gui/IconDownloader.h"
|
||||||
|
|
||||||
QTEST_GUILESS_MAIN(TestIconDownloader)
|
QTEST_GUILESS_MAIN(TestIconDownloader)
|
||||||
|
|
||||||
@@ -8,6 +11,7 @@ void TestIconDownloader::testIconDownloader()
|
|||||||
{
|
{
|
||||||
QFETCH(QString, url);
|
QFETCH(QString, url);
|
||||||
QFETCH(QStringList, expectation);
|
QFETCH(QStringList, expectation);
|
||||||
|
config()->set(Config::Security_IconDownloadFallback, false);
|
||||||
|
|
||||||
IconDownloader downloader;
|
IconDownloader downloader;
|
||||||
downloader.setUrl(url);
|
downloader.setUrl(url);
|
||||||
|
|||||||
Reference in New Issue
Block a user