Fixed tests

This commit is contained in:
James Booth
2015-01-06 21:56:14 +00:00
parent ab963499b5
commit 36790dc26b
2 changed files with 2 additions and 6 deletions

View File

@@ -75,12 +75,14 @@ void close_preferences(void **state)
void init_chat_sessions(void **state)
{
load_preferences(NULL);
chat_sessions_init();
}
void close_chat_sessions(void **state)
{
chat_sessions_clear();
close_preferences(NULL);
}
static GCompareFunc cmp_func;