mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-01 19:24:15 -04:00
Fix OTR unit test after account_new API change
This commit is contained in:
parent
7df7e05639
commit
3ef9123ccb
@ -179,7 +179,7 @@ void cmd_otr_gen_generates_key_for_connected_account(void **state)
|
|||||||
gchar *args[] = { "gen", NULL };
|
gchar *args[] = { "gen", NULL };
|
||||||
char *account_name = "myaccount";
|
char *account_name = "myaccount";
|
||||||
ProfAccount *account = account_new(account_name, "me@jabber.org", NULL, NULL,
|
ProfAccount *account = account_new(account_name, "me@jabber.org", NULL, NULL,
|
||||||
TRUE, NULL, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
TRUE, NULL, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
will_return(connection_get_status, JABBER_CONNECTED);
|
will_return(connection_get_status, JABBER_CONNECTED);
|
||||||
will_return(session_get_account_name, account_name);
|
will_return(session_get_account_name, account_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user