Fixed broken tests

This commit is contained in:
James Booth
2014-01-18 20:49:40 +00:00
parent 39e0782da8
commit b62591903d
2 changed files with 4 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ void cmd_connect_with_altdomain_when_provided(void **state)
mock_accounts_get_account();
mock_jabber_connect_with_details();
CommandHelp *help = malloc(sizeof(CommandHelp));
gchar *args[] = { "user@server.org", "altdomain" };
gchar *args[] = { "user@server.org", "server", "altdomain", NULL };
mock_connection_status(JABBER_DISCONNECTED);