mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 21:17:43 +03:00
Fix unexpected additional resolved urls in testIconDownloader
This commit is contained in:
parent
3c5f49dc5b
commit
9b4e6b4e11
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue