diff options
Diffstat (limited to 'tests/helpers.c')
-rw-r--r-- | tests/helpers.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/helpers.c b/tests/helpers.c index a6a473e4..bc0b8009 100644 --- a/tests/helpers.c +++ b/tests/helpers.c @@ -10,6 +10,7 @@ #include "common.h" #include "helpers.h" #include "config/preferences.h" +#include "chat_session.h" void create_config_dir(void **state) { @@ -72,6 +73,16 @@ void close_preferences(void **state) rmdir("./tests/files"); } +void init_chat_sessions(void **state) +{ + chat_sessions_init(); +} + +void close_chat_sessions(void **state) +{ + chat_sessions_clear(); +} + static GCompareFunc cmp_func; void |