aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/testpreferences.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp
index 862ba6154..9ad3ee079 100644
--- a/tests/testpreferences.cpp
+++ b/tests/testpreferences.cpp
@@ -16,11 +16,6 @@ void TestPreferences::testPreferences()
auto pref = SettingsObjectWrapper::instance();
pref->load();
- pref->animation_settings->setAnimationSpeed(20);
- TEST(pref->animation_settings->animationSpeed(), 20);
- pref->animation_settings->setAnimationSpeed(30);
- TEST(pref->animation_settings->animationSpeed(), 30);
-
auto cloud = pref->cloud_storage;
cloud->setBackgroundSync(true);
TEST(cloud->backgroundSync(), true);
@@ -537,6 +532,11 @@ void TestPreferences::testPreferences()
TEST(language->timeFormatOverride(),true);
TEST(language->dateFormatOverride(),true);
TEST(language->useSystemLanguage(), true);
+
+ pref->animation_settings->setAnimationSpeed(20);
+ TEST(pref->animation_settings->animationSpeed(), 20);
+ pref->animation_settings->setAnimationSpeed(30);
+ TEST(pref->animation_settings->animationSpeed(), 30);
}
QTEST_MAIN(TestPreferences)