about summary refs log tree commit diff stats
path: root/tests/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-12-15 22:28:22 +0000
committerJames Booth <boothj5@gmail.com>2013-12-15 22:28:22 +0000
commit683da12c3aae53bb02ede52c924300580be9cc80 (patch)
tree0f047bd4d4d382a713c95584a806a5151da4036e /tests/ui
parent6d75ebb8e9ebd292a57adb54ff22cac52b463dbd (diff)
downloadprofani-tty-683da12c3aae53bb02ede52c924300580be9cc80.tar.gz
Added cmd_account test
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/mock_ui.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c
index 33b6f1b8..5d83bcea 100644
--- a/tests/ui/mock_ui.c
+++ b/tests/ui/mock_ui.c
@@ -218,7 +218,12 @@ void cons_show_chat_prefs(void) {}
 void cons_show_log_prefs(void) {}
 void cons_show_presence_prefs(void) {}
 void cons_show_connection_prefs(void) {}
-void cons_show_account(ProfAccount *account) {}
+
+void cons_show_account(ProfAccount *account)
+{
+    check_expected(account);
+}
+
 void cons_debug(const char * const msg, ...) {}
 void cons_show_time(void) {}
 void cons_show_word(const char * const word) {}