about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-24 17:12:09 +0100
committerJames Booth <boothj5@gmail.com>2016-07-24 17:12:09 +0100
commit29452f8f1b8f7a61773905169b3883f1b494c786 (patch)
treeaf43bbb2007b9a69f03c38503d9e612156408839 /tests
parent6cc4abedc58f294ccb36632cb86464c247687288 (diff)
downloadprofani-tty-29452f8f1b8f7a61773905169b3883f1b494c786.tar.gz
Move xgd functions
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/helpers.c b/tests/unittests/helpers.c
index 1494d803..60f36839 100644
--- a/tests/unittests/helpers.c
+++ b/tests/unittests/helpers.c
@@ -15,7 +15,7 @@
 void create_config_dir(void **state)
 {
     setenv("XDG_CONFIG_HOME", "./tests/files/xdg_config_home", 1);
-    gchar *xdg_config = xdg_get_config_home();
+    gchar *xdg_config = files_get_xdg_config_home();
 
     GString *profanity_dir = g_string_new(xdg_config);
     g_string_append(profanity_dir, "/profanity");
@@ -37,7 +37,7 @@ void remove_config_dir(void **state)
 void create_data_dir(void **state)
 {
     setenv("XDG_DATA_HOME", "./tests/files/xdg_data_home", 1);
-    gchar *xdg_data = xdg_get_data_home();
+    gchar *xdg_data = files_get_xdg_data_home();
 
     GString *profanity_dir = g_string_new(xdg_data);
     g_string_append(profanity_dir, "/profanity");