about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/unittests/test_callbacks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/test_callbacks.c b/tests/unittests/test_callbacks.c
index 78693d4c..a1a7317e 100644
--- a/tests/unittests/test_callbacks.c
+++ b/tests/unittests/test_callbacks.c
@@ -15,6 +15,8 @@ void returns_no_commands(void **state)
     GList *commands = plugins_get_command_names();
 
     assert_true(commands == NULL);
+
+    callbacks_close();
 }
 
 void returns_commands(void **state)
@@ -54,4 +56,7 @@ void returns_commands(void **state)
     }
 
     assert_true(foundCommand1 && foundCommand2 && foundCommand3);
+
+    //TODO: why does this make the test fail?
+    //callbacks_close();
 }