about summary refs log tree commit diff stats
path: root/tests/test_server_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_server_events.c')
-rw-r--r--tests/test_server_events.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test_server_events.c b/tests/test_server_events.c
index 0b5cfd09..fcf6fb1c 100644
--- a/tests/test_server_events.c
+++ b/tests/test_server_events.c
@@ -120,9 +120,6 @@ void handle_message_error_when_recipient_cancel(void **state)
     prefs_set_boolean(PREF_STATES, FALSE);
     chat_sessions_init();
 
-    expect_string(ui_handle_recipient_not_found, recipient, from);
-    expect_string(ui_handle_recipient_not_found, err_msg, err_msg);
-
     handle_message_error(from, type, err_msg);
 }
 
@@ -137,9 +134,6 @@ void handle_message_error_when_recipient_cancel_disables_chat_session(void **sta
     chat_sessions_init();
     chat_session_on_incoming_message(from, resource, TRUE);
 
-    expect_any(ui_handle_recipient_not_found, recipient);
-    expect_any(ui_handle_recipient_not_found, err_msg);
-
     handle_message_error(from, type, err_msg);
     gboolean session_exists = chat_session_exists(from);