summaryrefslogtreecommitdiff
path: root/src/settings/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/test')
-rw-r--r--src/settings/test/rekonqrc5
-rw-r--r--src/settings/test/test_settings.cpp6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/settings/test/rekonqrc b/src/settings/test/rekonqrc
index 97329a6d..fe67194c 100644
--- a/src/settings/test/rekonqrc
+++ b/src/settings/test/rekonqrc
@@ -1,8 +1,8 @@
[General]
FirstRun=true
lang=TODO: change type to StringList
-homepage=http://www.kde.org/
-newtab=http://www.kde.org/
+homepage=about:blank
+newtab=about:blank
searchUrl=https://duckduckgo.com/?q=%1
pluginPath=TODO: change type to Path
@@ -12,6 +12,7 @@ downloadPathAsk=true
userAgent=TODO
[Appearance]
+IconTheme=tabler
defaultFontSize=16
minFontSize=7
defaultEncoding=ISO 8859-1
diff --git a/src/settings/test/test_settings.cpp b/src/settings/test/test_settings.cpp
index 24bbf349..6efc64c3 100644
--- a/src/settings/test/test_settings.cpp
+++ b/src/settings/test/test_settings.cpp
@@ -86,14 +86,14 @@ TEST(settings, SettingsDialog)
// 1 setting is hidden and won't be set by the dialog
// save and reset will both call setValue on all non-hidden settings
EXPECT_CALL(mockSettings, setValue(_, _)).Times(n_settings * 2 - 3);
- EXPECT_CALL(mockSettings, setValue(QStringEq("homepage"), QVariantEq("about:blank")));
+ EXPECT_CALL(mockSettings, setValue(QStringEq("homepage"), QVariantEq("https://kde.org")));
// change setting
{
SettingsDialog dlg(&mockSettings);
auto *homepage = dlg.findChild<QLineEdit *>("homepage");
- EXPECT_TRUE(homepage->text() == QLatin1String("http://www.kde.org/")) << qUtf8Printable(homepage->text());
- homepage->setText("about:blank");
+ EXPECT_TRUE(homepage->text() == QLatin1String("about:blank")) << qUtf8Printable(homepage->text());
+ homepage->setText("https://kde.org");
dlg.accept();
}