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 22:46:54 +0000
committerJames Booth <boothj5@gmail.com>2013-12-17 22:46:54 +0000
commitde06c40d463b01366df453fb90514b362b4cc158 (patch)
tree08d71d19a8aed057070efce7fbf3ae2474ab6d8c /tests/config
parent3b2446c46a9bb370cc032d9f5d3caabda55a1ada (diff)
downloadprofani-tty-de06c40d463b01366df453fb90514b362b4cc158.tar.gz
Added tests for "/account set muc" and "/account set nick"
Diffstat (limited to 'tests/config')
-rw-r--r--tests/config/mock_accounts.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/config/mock_accounts.c b/tests/config/mock_accounts.c
index 294d2662..d5992822 100644
--- a/tests/config/mock_accounts.c
+++ b/tests/config/mock_accounts.c
@@ -113,8 +113,18 @@ void accounts_set_password(const char * const account_name, const char * const v
     check_expected(value);
 }
 
-void accounts_set_muc_service(const char * const account_name, const char * const value) {}
-void accounts_set_muc_nick(const char * const account_name, const char * const value) {}
+void accounts_set_muc_service(const char * const account_name, const char * const value)
+{
+    check_expected(account_name);
+    check_expected(value);
+}
+
+void accounts_set_muc_nick(const char * const account_name, const char * const value)
+{
+    check_expected(account_name);
+    check_expected(value);
+}
+
 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) {}