about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-13 23:59:33 +0100
committerJames Booth <boothj5@gmail.com>2015-06-13 23:59:33 +0100
commite50461a897d225a60b08e928074753230fc4ede6 (patch)
tree33dd743b1210740c6e9f25d16e1e575a7ecb485d /tests/unittests
parent82ff85c329dca6105bfa9add9cb1424ecc2ae334 (diff)
downloadprofani-tty-e50461a897d225a60b08e928074753230fc4ede6.tar.gz
Set columns when running functional tests
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_cmd_roster.c3
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);