aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check-empathy-chatroom-manager.c5
-rw-r--r--tests/xml/chatrooms-sample.xml (renamed from tests/xml/chatrooms.xml)0
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/check-empathy-chatroom-manager.c b/tests/check-empathy-chatroom-manager.c
index 1f5daaf16..82cfa6df0 100644
--- a/tests/check-empathy-chatroom-manager.c
+++ b/tests/check-empathy-chatroom-manager.c
@@ -9,6 +9,9 @@
#include <libempathy/empathy-chatroom-manager.h>
+#define CHATROOM_SAMPLE "chatrooms-sample.xml"
+#define CHATROOM_FILE "chatrooms.xml"
+
static gchar *
get_xml_file (const gchar *filename)
{
@@ -21,7 +24,7 @@ START_TEST (test_empathy_chatroom_manager_new)
EmpathyChatroomManager *mgr;
gchar *file;
- file = get_xml_file ("chatrooms.xml");
+ file = get_xml_file (CHATROOM_SAMPLE);
mgr = empathy_chatroom_manager_new (file);
g_free (file);
diff --git a/tests/xml/chatrooms.xml b/tests/xml/chatrooms-sample.xml
index 57073b7be..57073b7be 100644
--- a/tests/xml/chatrooms.xml
+++ b/tests/xml/chatrooms-sample.xml