diff options
author | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-13 17:16:24 +0200 |
---|---|---|
committer | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-18 14:28:20 +0200 |
commit | 07cc19ce10dcf1cbbdca4797540d4f2bea74b724 (patch) | |
tree | c82ade1b904636717a352b809652523b56bdacb6 /tests/unittests/test_cmd_otr.c | |
parent | 9bce23e075e4ec4ad7c888688226c7136d5f9257 (diff) | |
download | profani-tty-07cc19ce10dcf1cbbdca4797540d4f2bea74b724.tar.gz |
Add sessions_alarm
Introduce new feature: sessions_alarm. Added new account setting: max_connections. On exceeding this number, user will get an alert. If number is less than 1, no alert will happen. Tests altered to fit new feature.
Diffstat (limited to 'tests/unittests/test_cmd_otr.c')
-rw-r--r-- | tests/unittests/test_cmd_otr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_cmd_otr.c b/tests/unittests/test_cmd_otr.c index ae492cf1..d5136d97 100644 --- a/tests/unittests/test_cmd_otr.c +++ b/tests/unittests/test_cmd_otr.c @@ -196,7 +196,7 @@ cmd_otr_gen_generates_key_for_connected_account(void** state) gchar* args[] = { "gen", NULL }; char* account_name = g_strdup("myaccount"); ProfAccount* account = account_new(account_name, g_strdup("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, 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, NULL, NULL, NULL, 0); will_return(connection_get_status, JABBER_CONNECTED); will_return(session_get_account_name, account_name); |