summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-06-14 14:49:59 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-06-18 16:26:51 +0300
commit9beb740fb747e721b6a678bbe63399c70e132881 (patch)
tree50d7ad1906ae15fdb462a05c8402fdaec6f5a2be /test
parent55527d041231448945904cdb67bef0dd08d62110 (diff)
downloadqtlocation-mapboxgl-9beb740fb747e721b6a678bbe63399c70e132881.tar.gz
[tests] Follow-up of previews PR, these tests need write permission
Diffstat (limited to 'test')
-rw-r--r--test/storage/offline_database.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage/offline_database.test.cpp b/test/storage/offline_database.test.cpp
index fc1efc1a31..7d90357078 100644
--- a/test/storage/offline_database.test.cpp
+++ b/test/storage/offline_database.test.cpp
@@ -515,7 +515,7 @@ TEST(OfflineDatabase, GetRegionDefinition) {
);
}
-TEST(OfflineDatabase, DeleteRegion) {
+TEST(OfflineDatabase, TEST_REQUIRES_WRITE(DeleteRegion)) {
FixtureLog log;
deleteDatabaseFiles();
@@ -627,7 +627,7 @@ TEST(OfflineDatabase, Invalidate) {
EXPECT_EQ(0u, log.uncheckedCount());
}
-TEST(OfflineDatabase, ClearTileCache) {
+TEST(OfflineDatabase, TEST_REQUIRES_WRITE(ClearTileCache)) {
FixtureLog log;
deleteDatabaseFiles();