diff options
author | James Booth <boothj5@gmail.com> | 2014-04-09 22:29:38 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-09 22:29:38 +0100 |
commit | e97ec56fce641554ff7aa2ff9f0583e1fb9fc364 (patch) | |
tree | 8db6eff2bc9cc60098077765fa9417976cd164ef /tests/test_cmd_connect.c | |
parent | 714ee2486353361898df7f5bb339e9be3f456830 (diff) | |
download | profani-tty-e97ec56fce641554ff7aa2ff9f0583e1fb9fc364.tar.gz |
Added ui_already_connected
Diffstat (limited to 'tests/test_cmd_connect.c')
-rw-r--r-- | tests/test_cmd_connect.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_cmd_connect.c b/tests/test_cmd_connect.c index 33f49164..76493115 100644 --- a/tests/test_cmd_connect.c +++ b/tests/test_cmd_connect.c @@ -19,13 +19,11 @@ static void test_with_connection_status(jabber_conn_status_t status) { - mock_cons_show(); + stub_ui_already_connected(); CommandHelp *help = malloc(sizeof(CommandHelp)); mock_connection_status(status); - expect_cons_show("You are either connected already, or a login is in process."); - gboolean result = cmd_connect(NULL, *help); assert_true(result); |