diff options
author | James Booth <boothj5@gmail.com> | 2013-12-17 22:33:49 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-12-17 22:33:49 +0000 |
commit | 9b41c4ee3246fb110c44f2d9a178416228cd39e9 (patch) | |
tree | 7ed32fd9f6a79f8209b6b1ba963fcb412773e149 /tests/config | |
parent | 52f6ad6fe19149a351fba673aa378508cd7c0558 (diff) | |
download | profani-tty-9b41c4ee3246fb110c44f2d9a178416228cd39e9.tar.gz |
Added tests for "/account set server"
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/mock_accounts.c | 6 |
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) { |