about summary refs log tree commit diff stats
path: root/tests/unittests/test_cmd_disconnect.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-17 00:40:06 +0100
committerJames Booth <boothj5@gmail.com>2015-06-17 00:40:06 +0100
commit8fde14879a7f9d6d6a60244e8f8000c123dd3115 (patch)
tree34916cad79cb270959b576f3f46231db1b4d2231 /tests/unittests/test_cmd_disconnect.c
parent637b8bee9fcaeedbb09636b76e34270abbfcab47 (diff)
parenta798dc5618580265e60f93be091b649b4bf86dee (diff)
downloadprofani-tty-8fde14879a7f9d6d6a60244e8f8000c123dd3115.tar.gz
Merge branch 'master' into openpgp
Conflicts:
	src/command/commands.c
	src/command/commands.h
Diffstat (limited to 'tests/unittests/test_cmd_disconnect.c')
-rw-r--r--tests/unittests/test_cmd_disconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_cmd_disconnect.c b/tests/unittests/test_cmd_disconnect.c
index 68253820..957516c2 100644
--- a/tests/unittests/test_cmd_disconnect.c
+++ b/tests/unittests/test_cmd_disconnect.c
@@ -25,7 +25,7 @@ void clears_chat_sessions(void **state)
     will_return(jabber_get_fulljid, "myjid@myserver.com");
     expect_any_cons_show();
 
-    gboolean result = cmd_disconnect(NULL, *help);
+    gboolean result = cmd_disconnect(NULL, NULL, *help);
 
     assert_true(result);
 
@@ -34,4 +34,4 @@ void clears_chat_sessions(void **state)
     assert_null(session1);
     assert_null(session2);
     free(help);
-}
\ No newline at end of file
+}