about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-01-30 22:49:44 +0000
committerJames Booth <boothj5@gmail.com>2016-01-30 22:49:44 +0000
commit7c1db22facf60f55987197d6476f3156e3ea597a (patch)
treeb313d5613754d8520cb30305df50c835b9cd8a68 /tests/unittests
parent2092273474b269c3f5efbf30261dbe656b4a0c0f (diff)
downloadprofani-tty-7c1db22facf60f55987197d6476f3156e3ea597a.tar.gz
Fixed assertion errors in tests
Diffstat (limited to 'tests/unittests')
-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 e511df9d..c9c1a662 100644
--- a/tests/unittests/unittests.c
+++ b/tests/unittests/unittests.c
@@ -622,7 +622,9 @@ int main(int argc, char* argv[]) {
         unit_test(remove_text_multi_value_removes_when_one),
         unit_test(remove_text_multi_value_removes_when_many),
 
-        unit_test(clears_chat_sessions),
+        unit_test_setup_teardown(clears_chat_sessions,
+            load_preferences,
+            close_preferences),
     };
 
     return run_tests(all_tests);