summaryrefslogtreecommitdiff
path: root/src/settings/test/test_settings.cpp
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-09-03 14:05:27 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-09-05 23:07:42 +0300
commitaf7da146be4f4c9db69d85e33cc7229bb775e5b2 (patch)
tree2116f86c4679324800aca370986a79270cdef2bd /src/settings/test/test_settings.cpp
parentAdd actions to RekonqView (diff)
downloadrekonq-af7da146be4f4c9db69d85e33cc7229bb775e5b2.tar.xz
Add rekonq::DefaultUrl enum
Diffstat (limited to 'src/settings/test/test_settings.cpp')
-rw-r--r--src/settings/test/test_settings.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}