Added pgp checks for message sending
This commit is contained in:
@@ -576,8 +576,8 @@ cmd_otr_start_sends_otr_query_message_to_current_recipeint(void **state)
|
||||
will_return(otr_key_loaded, TRUE);
|
||||
will_return(otr_start_query, query_message);
|
||||
|
||||
expect_string(message_send_chat_encrypted, barejid, recipient);
|
||||
expect_string(message_send_chat_encrypted, msg, query_message);
|
||||
expect_string(message_send_chat_otr, barejid, recipient);
|
||||
expect_string(message_send_chat_otr, msg, query_message);
|
||||
|
||||
gboolean result = cmd_otr((ProfWin*)&chatwin, args, *help);
|
||||
assert_true(result);
|
||||
|
||||
Reference in New Issue
Block a user