about summary refs log tree commit diff stats
path: root/tests/unittests/test_cmd_disconnect.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-25 00:26:58 +0100
committerJames Booth <boothj5@gmail.com>2015-09-25 00:26:58 +0100
commitb484411ea8d94349c2879f09f48d907dbdaf72c9 (patch)
tree7598ecd667dfff306cb1c499f1efe6a7a9cabe6b /tests/unittests/test_cmd_disconnect.c
parent4257ecb1c50a00da2b40e018e1eb2dfa1a8d4a1b (diff)
downloadprofani-tty-b484411ea8d94349c2879f09f48d907dbdaf72c9.tar.gz
Save last activity to account on disconnect
Diffstat (limited to 'tests/unittests/test_cmd_disconnect.c')
-rw-r--r--tests/unittests/test_cmd_disconnect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_cmd_disconnect.c b/tests/unittests/test_cmd_disconnect.c
index 7ea5b53a..c6c9f611 100644
--- a/tests/unittests/test_cmd_disconnect.c
+++ b/tests/unittests/test_cmd_disconnect.c
@@ -22,6 +22,7 @@ void clears_chat_sessions(void **state)
     chat_session_recipient_active("mike@server.org", "work", FALSE);
 
     will_return(jabber_get_connection_status, JABBER_CONNECTED);
+    will_return(jabber_get_account_name, "someaccount");
     will_return(jabber_get_fulljid, "myjid@myserver.com");
     expect_any_cons_show();