summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testqPrefCloudStorage.cpp14
-rw-r--r--tests/testqPrefCloudStorage.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/tests/testqPrefCloudStorage.cpp b/tests/testqPrefCloudStorage.cpp
index 2c6a4449f..2ca2bb81a 100644
--- a/tests/testqPrefCloudStorage.cpp
+++ b/tests/testqPrefCloudStorage.cpp
@@ -266,18 +266,4 @@ void TestQPrefCloudStorage::test_oldPreferences()
TEST(cloud->cloud_verification_status(), 1);
}
-void TestQPrefCloudStorage::test_loadFromCloud_var()
-{
- auto cloud = qPrefCloudStorage::instance();
-
- cloud->set_loadFromCloud("mail1", true);
- cloud->set_loadFromCloud("mail2", false);
- cloud->set_loadFromCloud("mail3", true);
-
- QCOMPARE(cloud->loadFromCloud("mail1"), true);
- QCOMPARE(cloud->loadFromCloud("mail2"), false);
- QCOMPARE(cloud->loadFromCloud("mail3"), true);
- QCOMPARE(cloud->loadFromCloud("mail_unknown"), false);
-}
-
QTEST_MAIN(TestQPrefCloudStorage)
diff --git a/tests/testqPrefCloudStorage.h b/tests/testqPrefCloudStorage.h
index e853c11ae..077ca74b6 100644
--- a/tests/testqPrefCloudStorage.h
+++ b/tests/testqPrefCloudStorage.h
@@ -15,7 +15,6 @@ private slots:
void test_struct_disk();
void test_multiple();
void test_oldPreferences();
- void test_loadFromCloud_var();
};
#endif // TESTQPREFCLOUDSTORAGE_H