about summary refs log tree commit diff stats
path: root/tests/test_cmd_rooms.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-12-15 18:15:16 +0000
committerJames Booth <boothj5@gmail.com>2013-12-15 18:15:16 +0000
commiteff2ef3859e66542b5ce16efd800c3ece63caf71 (patch)
treeb5696f9cfa2bc22333e3f0ad679d0976537558bb /tests/test_cmd_rooms.c
parentbf347ab9e05b4b5bcd0dfa354f139aca85744440 (diff)
downloadprofani-tty-eff2ef3859e66542b5ce16efd800c3ece63caf71.tar.gz
Check expected arg to account_get_account in cmd_rooms test
Diffstat (limited to 'tests/test_cmd_rooms.c')
-rw-r--r--tests/test_cmd_rooms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_cmd_rooms.c b/tests/test_cmd_rooms.c
index e58e178d..91581a99 100644
--- a/tests/test_cmd_rooms.c
+++ b/tests/test_cmd_rooms.c
@@ -56,6 +56,7 @@ void cmd_rooms_uses_account_default_when_no_arg(void **state)
 
     will_return(jabber_get_connection_status, JABBER_CONNECTED);
     will_return(jabber_get_account_name, "account_name");
+    expect_string(accounts_get_account, name, "account_name");
     will_return(accounts_get_account, account);
     expect_string(iq_room_list_request, conferencejid, "default_conf_server");