about summary refs log tree commit diff stats
path: root/tests/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-12-17 23:17:02 +0000
committerJames Booth <boothj5@gmail.com>2013-12-17 23:17:02 +0000
commit76e7a8341bc4a38f1394eaa42dbe182e265e83d8 (patch)
treee42990e7e5ad724adbff7beb87466c01eefb80be /tests/config
parentd5a2e645bf2d5ab6852e45a5a5268759ed2c2b2a (diff)
downloadprofani-tty-76e7a8341bc4a38f1394eaa42dbe182e265e83d8.tar.gz
Added tests for "/account set status"
Diffstat (limited to 'tests/config')
-rw-r--r--tests/config/mock_accounts.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/config/mock_accounts.c b/tests/config/mock_accounts.c
index d5992822..de1d8b38 100644
--- a/tests/config/mock_accounts.c
+++ b/tests/config/mock_accounts.c
@@ -126,7 +126,12 @@ void accounts_set_muc_nick(const char * const account_name, const char * const v
 }
 
 void accounts_set_last_presence(const char * const account_name, const char * const value) {}
-void accounts_set_login_presence(const char * const account_name, const char * const value) {}
+
+void accounts_set_login_presence(const char * const account_name, const char * const value)
+{
+    check_expected(account_name);
+    check_expected(value);
+}
 
 resource_presence_t accounts_get_login_presence(const char * const account_name)
 {