diff options
author | James Booth <boothj5@gmail.com> | 2015-06-14 00:02:00 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-14 00:02:00 +0100 |
commit | 10a5f29023b5ace2358b57da86038de4a5d47f5f (patch) | |
tree | 08b97d43b7348632e20ee1f44cd8699b4bbe6815 /tests/unittests | |
parent | b07a7035df8980868421ab27cd62411069885991 (diff) | |
parent | e50461a897d225a60b08e928074753230fc4ede6 (diff) | |
download | profani-tty-10a5f29023b5ace2358b57da86038de4a5d47f5f.tar.gz |
Merge branch 'master' into openpgp
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_cmd_roster.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_cmd_roster.c b/tests/unittests/test_cmd_roster.c index a7160cf5..dc1b612e 100644 --- a/tests/unittests/test_cmd_roster.c +++ b/tests/unittests/test_cmd_roster.c @@ -16,12 +16,13 @@ static void test_with_connection_status(jabber_conn_status_t status) { CommandHelp *help = malloc(sizeof(CommandHelp)); + gchar *args[] = { NULL }; will_return(jabber_get_connection_status, status); expect_cons_show("You are not currently connected."); - gboolean result = cmd_roster(NULL, *help); + gboolean result = cmd_roster(args, *help); assert_true(result); free(help); |