From 9b41c4ee3246fb110c44f2d9a178416228cd39e9 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 17 Dec 2013 22:33:49 +0000 Subject: Added tests for "/account set server" --- tests/config/mock_accounts.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/config') 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) { -- cgit 1.4.1-2-gfad0