mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix unexpected additional resolved urls in testIconDownloader
This commit is contained in:
parent
3c5f49dc5b
commit
9b4e6b4e11
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user