diff options
author | James Booth <boothj5@gmail.com> | 2013-12-17 22:40:55 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-12-17 22:40:55 +0000 |
commit | 3b2446c46a9bb370cc032d9f5d3caabda55a1ada (patch) | |
tree | 99f74d29c5939cdbe30cc614ab31077b16261391 /tests/config | |
parent | 8adca66fa36e79725a56552a1fe7fc9d3f28f95b (diff) | |
download | profani-tty-3b2446c46a9bb370cc032d9f5d3caabda55a1ada.tar.gz |
Added tests for "/account set password"
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/mock_accounts.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/config/mock_accounts.c b/tests/config/mock_accounts.c index 345e5978..294d2662 100644 --- a/tests/config/mock_accounts.c +++ b/tests/config/mock_accounts.c @@ -107,7 +107,12 @@ void accounts_set_resource(const char * const account_name, const char * const v check_expected(value); } -void accounts_set_password(const char * const account_name, const char * const value) {} +void accounts_set_password(const char * const account_name, const char * const value) +{ + check_expected(account_name); + 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_last_presence(const char * const account_name, const char * const value) {} |