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:33:49 +0000
committerJames Booth <boothj5@gmail.com>2013-12-17 22:33:49 +0000
commit9b41c4ee3246fb110c44f2d9a178416228cd39e9 (patch)
tree7ed32fd9f6a79f8209b6b1ba963fcb412773e149 /tests/config
parent52f6ad6fe19149a351fba673aa378508cd7c0558 (diff)
downloadprofani-tty-9b41c4ee3246fb110c44f2d9a178416228cd39e9.tar.gz
Added tests for "/account set server"
Diffstat (limited to 'tests/config')
-rw-r--r--tests/config/mock_accounts.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/config/mock_accounts.c b/tests/config/mock_accounts.c
index 8cd8b93e..345e5978 100644
--- a/tests/config/mock_accounts.c
+++ b/tests/config/mock_accounts.c
@@ -95,7 +95,11 @@ void accounts_set_jid(const char * const account_name, const char * const value)
     check_expected(value);
 }
 
-void accounts_set_server(const char * const account_name, const char * const value) {}
+void accounts_set_server(const char * const account_name, const char * const value)
+{
+    check_expected(account_name);
+    check_expected(value);
+}
 
 void accounts_set_resource(const char * const account_name, const char * const value) 
 {