Fix assertion errors in unit tests

This commit is contained in:
James Booth
2016-09-25 23:30:44 +01:00
parent 9796b23cfd
commit a48df40138
3 changed files with 13 additions and 1 deletions

View File

@@ -429,7 +429,9 @@ int main(int argc, char* argv[]) {
unit_test_setup_teardown(console_shows_dnd_presence_when_set_all,
load_preferences,
close_preferences),
unit_test(handle_offline_removes_chat_session),
unit_test_setup_teardown(handle_offline_removes_chat_session,
load_preferences,
close_preferences),
unit_test(lost_connection_clears_chat_sessions),
unit_test(cmd_alias_add_shows_usage_when_no_args),