about summary refs log tree commit diff stats
path: root/tests/unittests/unittests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/unittests.c')
-rw-r--r--tests/unittests/unittests.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unittests/unittests.c b/tests/unittests/unittests.c
index e427e151..e0a5dd34 100644
--- a/tests/unittests/unittests.c
+++ b/tests/unittests/unittests.c
@@ -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),