about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-29 03:17:41 +0100
committerJames Booth <boothj5@gmail.com>2015-03-29 03:17:41 +0100
commitc8c12a8f7aa5a908aa22f6a143f50bd8a077a408 (patch)
tree0323aa6c21727a92a439fa6df8d6b5c1e5d29a16 /tests
parentc36d4b36437b790d67e6631320c6d78a5bc978be (diff)
parent71c2be599b54fb3cf7beb2a0855ad2a9d1bf6a0b (diff)
downloadprofani-tty-c8c12a8f7aa5a908aa22f6a143f50bd8a077a408.tar.gz
Merge branch 'master' into pgp
Diffstat (limited to 'tests')
-rw-r--r--tests/test_muc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_muc.c b/tests/test_muc.c
index 5566c17e..e3b7f9b0 100644
--- a/tests/test_muc.c
+++ b/tests/test_muc.c
@@ -19,7 +19,7 @@ void muc_after_test(void **state)
 void test_muc_invites_add(void **state)
 {
     char *room = "room@conf.server";
-    muc_invites_add(room);
+    muc_invites_add(room, NULL);
 
     gboolean invite_exists = muc_invites_contain(room);
 
@@ -29,7 +29,7 @@ void test_muc_invites_add(void **state)
 void test_muc_remove_invite(void **state)
 {
     char *room = "room@conf.server";
-    muc_invites_add(room);
+    muc_invites_add(room, NULL);
     muc_invites_remove(room);
 
     gboolean invite_exists = muc_invites_contain(room);
@@ -46,11 +46,11 @@ void test_muc_invites_count_0(void **state)
 
 void test_muc_invites_count_5(void **state)
 {
-    muc_invites_add("room1@conf.server");
-    muc_invites_add("room2@conf.server");
-    muc_invites_add("room3@conf.server");
-    muc_invites_add("room4@conf.server");
-    muc_invites_add("room5@conf.server");
+    muc_invites_add("room1@conf.server", NULL);
+    muc_invites_add("room2@conf.server", NULL);
+    muc_invites_add("room3@conf.server", NULL);
+    muc_invites_add("room4@conf.server", NULL);
+    muc_invites_add("room5@conf.server", NULL);
 
     int invite_count = muc_invites_count();