about summary refs log tree commit diff stats
path: root/tests/test_cmd_disconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmd_disconnect.c')
-rw-r--r--tests/test_cmd_disconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd_disconnect.c b/tests/test_cmd_disconnect.c
index 2a16c805..68253820 100644
--- a/tests/test_cmd_disconnect.c
+++ b/tests/test_cmd_disconnect.c
@@ -18,8 +18,8 @@ void clears_chat_sessions(void **state)
 
     chat_sessions_init();
     roster_init();
-    chat_session_on_recipient_activity("bob@server.org", "laptop", FALSE);
-    chat_session_on_recipient_activity("mike@server.org", "work", FALSE);
+    chat_session_recipient_active("bob@server.org", "laptop", FALSE);
+    chat_session_recipient_active("mike@server.org", "work", FALSE);
 
     will_return(jabber_get_connection_status, JABBER_CONNECTED);
     will_return(jabber_get_fulljid, "myjid@myserver.com");