about summary refs log tree commit diff stats
path: root/tests/testsuite.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-10 01:17:38 +0000
committerJames Booth <boothj5@gmail.com>2015-01-10 01:17:38 +0000
commitf180925c3b4c28d3839efe5526596506c781a9ec (patch)
tree4b8b56ffd778527c8f83a6430f587fe95b5a072a /tests/testsuite.c
parentab7bd6fe5f9c0a0abdc82426ab2eaaeb9416da28 (diff)
downloadprofani-tty-f180925c3b4c28d3839efe5526596506c781a9ec.tar.gz
Added tests for clearing chat sessions on lost connection
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r--tests/testsuite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index ebc4c7ac..eb039cbe 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -455,6 +455,7 @@ int main(int argc, char* argv[]) {
         unit_test(handle_presence_error_when_no_recipient),
         unit_test(handle_presence_error_when_from_recipient),
         unit_test(handle_offline_removes_chat_session),
+        unit_test(lost_connection_clears_chat_sessions),
 
         unit_test(cmd_alias_add_shows_usage_when_no_args),
         unit_test(cmd_alias_add_shows_usage_when_no_value),