Fixed broken test

This commit is contained in:
James Booth
2014-11-13 00:29:29 +00:00
parent 4e429fe788
commit 20dc44c0a9
3 changed files with 13 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ void console_doesnt_show_online_presence_when_set_none(void **state)
{
mock_cons_show_contact_online();
stub_ui_chat_win_contact_online();
stub_ui_roster();
prefs_set_string(PREF_STATUSES_CONSOLE, "none");
roster_init();
roster_add("test1@server", "bob", NULL, "both", FALSE);