From ac410445af65b9d332d4606a08ff549672042766 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Thu, 27 Feb 2020 01:22:05 +0200 Subject: Add option for legacy authentication New options: /connect [auth default|legacy] /account set auth default|legacy Fixes #1236. --- tests/unittests/test_cmd_otr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unittests/test_cmd_otr.c') diff --git a/tests/unittests/test_cmd_otr.c b/tests/unittests/test_cmd_otr.c index dd2d6ed7..b9cb52b4 100644 --- a/tests/unittests/test_cmd_otr.c +++ b/tests/unittests/test_cmd_otr.c @@ -182,7 +182,7 @@ void cmd_otr_gen_generates_key_for_connected_account(void **state) gchar *args[] = { "gen", NULL }; char *account_name = "myaccount"; 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, 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, NULL); will_return(connection_get_status, JABBER_CONNECTED); will_return(session_get_account_name, account_name); -- cgit 1.4.1-2-gfad0