aboutsummaryrefslogtreecommitdiff
path: root/tests/glib-fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glib-fixture.h')
-rw-r--r--tests/glib-fixture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h
index 4c53244..a8f3a76 100644
--- a/tests/glib-fixture.h
+++ b/tests/glib-fixture.h
@@ -84,6 +84,8 @@ class GlibFixture : public ::testing::Test
g_log_set_default_handler(default_log_handler, this);
+ g_assert(g_setenv("GSETTINGS_BACKEND", "memory", true));
+
g_unsetenv("DISPLAY");
}