diff options
author | James Booth <boothj5@gmail.com> | 2015-10-15 01:19:24 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-15 01:19:24 +0100 |
commit | 904a5a81cfcc19c7029f0a961cfb97f7d1a2fe9f (patch) | |
tree | 92a1a43f43f7a5fbbd022fe9b4ccd2fbb1390cb8 /tests/unittests/test_cmd_connect.c | |
parent | fb60a755e50e8edf8c00ebbf2ba1e707da6ec101 (diff) | |
download | profani-tty-904a5a81cfcc19c7029f0a961cfb97f7d1a2fe9f.tar.gz |
Add ability to script commands after connect
Diffstat (limited to 'tests/unittests/test_cmd_connect.c')
-rw-r--r-- | tests/unittests/test_cmd_connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/test_cmd_connect.c b/tests/unittests/test_cmd_connect.c index 88ae75d2..197a7505 100644 --- a/tests/unittests/test_cmd_connect.c +++ b/tests/unittests/test_cmd_connect.c @@ -121,7 +121,7 @@ void cmd_connect_asks_password_when_not_in_account(void **state) { gchar *args[] = { "jabber_org", NULL }; ProfAccount *account = account_new("jabber_org", "me@jabber.org", NULL, NULL, - TRUE, NULL, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 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); will_return(jabber_get_connection_status, JABBER_DISCONNECTED); @@ -368,7 +368,7 @@ void cmd_connect_shows_message_when_connecting_with_account(void **state) { gchar *args[] = { "jabber_org", NULL }; ProfAccount *account = account_new("jabber_org", "user@jabber.org", "password", NULL, - TRUE, NULL, 0, "laptop", NULL, NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + TRUE, NULL, 0, "laptop", NULL, NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); will_return(jabber_get_connection_status, JABBER_DISCONNECTED); @@ -388,7 +388,7 @@ void cmd_connect_connects_with_account(void **state) { gchar *args[] = { "jabber_org", NULL }; ProfAccount *account = account_new("jabber_org", "me@jabber.org", "password", NULL, - TRUE, NULL, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 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); will_return(jabber_get_connection_status, JABBER_DISCONNECTED); |