about summary refs log tree commit diff stats
path: root/tests/test_cmd_account.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmd_account.c')
-rw-r--r--tests/test_cmd_account.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd_account.c b/tests/test_cmd_account.c
index d02fc5ba..bddc4c6d 100644
--- a/tests/test_cmd_account.c
+++ b/tests/test_cmd_account.c
@@ -941,9 +941,9 @@ void cmd_account_set_priority_updates_presence_when_account_connected_with_prese
 
     will_return(jabber_get_presence_message, "Free to chat");
 
-    expect_value(presence_update, status, RESOURCE_ONLINE);
-    expect_string(presence_update, msg, "Free to chat");
-    expect_value(presence_update, idle, 0);
+    expect_value(presence_send, status, RESOURCE_ONLINE);
+    expect_string(presence_send, msg, "Free to chat");
+    expect_value(presence_send, idle, 0);
 
     expect_cons_show("Updated online priority for account a_account: 10");
     expect_cons_show("");