mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 21:16:21 +00:00
@@ -19,11 +19,13 @@
|
||||
|
||||
static void test_with_connection_status(jabber_conn_status_t status)
|
||||
{
|
||||
stub_ui_already_connected();
|
||||
mock_cons_show();
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user