Refactored /account set commands

This commit is contained in:
James Booth
2016-04-28 01:13:42 +01:00
parent 559b1608cf
commit a718e6f91b
2 changed files with 280 additions and 183 deletions

View File

@@ -398,7 +398,7 @@ void cmd_account_set_resource_sets_resource_with_online_message(void **state)
expect_string(accounts_set_resource, account_name, "a_account");
expect_string(accounts_set_resource, value, "a_resource");
expect_cons_show("Updated resource for account a_account: a_resource, you will need to reconnect to pick up the change.");
expect_cons_show("Updated resource for account a_account: a_resource, reconnect to pick up the change.");
expect_cons_show("");
gboolean result = cmd_account_set(NULL, CMD_ACCOUNT, args);