diff options
author | James Booth <boothj5@gmail.com> | 2017-01-15 23:59:31 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2017-01-15 23:59:31 +0000 |
commit | 2b7894ccff4c12003572af965b7f098669f0a7c3 (patch) | |
tree | 3879f91a2d3dabca3d48e49370fe5324478388f0 /tests/unittests/test_cmd_account.c | |
parent | b64646979ea50a13d0c7ec0b1a46969f661569a8 (diff) | |
download | profani-tty-2b7894ccff4c12003572af965b7f098669f0a7c3.tar.gz |
Remove status from cl_ev_presence_send
fixes #888
Diffstat (limited to 'tests/unittests/test_cmd_account.c')
-rw-r--r-- | tests/unittests/test_cmd_account.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unittests/test_cmd_account.c b/tests/unittests/test_cmd_account.c index 0b723bde..9e7ae197 100644 --- a/tests/unittests/test_cmd_account.c +++ b/tests/unittests/test_cmd_account.c @@ -806,17 +806,15 @@ void cmd_account_set_priority_updates_presence_when_account_connected_with_prese expect_any(accounts_get_account, name); will_return(accounts_get_account, account); #endif - will_return(connection_get_presence_msg, "Free to chat"); - expect_value(presence_send, status, RESOURCE_ONLINE); - expect_string(presence_send, msg, "Free to chat"); expect_value(presence_send, idle, 0); expect_value(presence_send, signed_status, NULL); expect_cons_show("Updated online priority for account a_account: 10"); expect_cons_show(""); + gboolean result = cmd_account_set(NULL, CMD_ACCOUNT, args); assert_true(result); } |