about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-20 23:30:15 +0000
committerJames Booth <boothj5@gmail.com>2013-01-20 23:30:15 +0000
commit97a497c355a4a80be1dc6e31c41dc587c6dda629 (patch)
tree68fca905a671162cd3c46b8fe52ad4157a0ba386 /tests
parent5c04adde2b3e38ce41f81b3994b1f3ec74026df0 (diff)
downloadprofani-tty-97a497c355a4a80be1dc6e31c41dc587c6dda629.tar.gz
Updated /info command for chat and private chat
Diffstat (limited to 'tests')
-rw-r--r--tests/test_contact_list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_contact_list.c b/tests/test_contact_list.c
index f04e80d5..0f6d48bf 100644
--- a/tests/test_contact_list.c
+++ b/tests/test_contact_list.c
@@ -191,7 +191,7 @@ static void test_status_when_no_value(void)
 static void update_show(void)
 {
     contact_list_add("James", NULL, "away", NULL, NULL, FALSE);
-    contact_list_update_contact("James", "dnd", NULL, NULL);
+    contact_list_update_contact("James", "dnd", NULL, NULL, NULL);
     GSList *list = get_contact_list();
 
     assert_int_equals(1, g_slist_length(list));
@@ -203,7 +203,7 @@ static void update_show(void)
 static void set_show_to_null(void)
 {
     contact_list_add("James", NULL, "away", NULL, NULL, FALSE);
-    contact_list_update_contact("James", NULL, NULL, NULL);
+    contact_list_update_contact("James", NULL, NULL, NULL, NULL);
     GSList *list = get_contact_list();
 
     assert_int_equals(1, g_slist_length(list));
@@ -215,7 +215,7 @@ static void set_show_to_null(void)
 static void update_status(void)
 {
     contact_list_add("James", NULL, NULL, "I'm not here right now", NULL, FALSE);
-    contact_list_update_contact("James", NULL, "Gone to lunch", NULL);
+    contact_list_update_contact("James", NULL, "Gone to lunch", NULL, NULL);
     GSList *list = get_contact_list();
 
     assert_int_equals(1, g_slist_length(list));
@@ -227,7 +227,7 @@ static void update_status(void)
 static void set_status_to_null(void)
 {
     contact_list_add("James", NULL, NULL, "Gone to lunch", NULL, FALSE);
-    contact_list_update_contact("James", NULL, NULL, NULL);
+    contact_list_update_contact("James", NULL, NULL, NULL, NULL);
     GSList *list = get_contact_list();
 
     assert_int_equals(1, g_slist_length(list));