Refactoring cmd_account tests

This commit is contained in:
James Booth
2014-12-24 14:41:33 +00:00
parent 05bf9bb993
commit 71dbd7fd77
3 changed files with 11 additions and 51 deletions

View File

@@ -52,7 +52,8 @@ gboolean accounts_enable(const char * const name)
gboolean accounts_disable(const char * const name)
{
return FALSE;
check_expected(name);
return (gboolean)mock();
}
gboolean accounts_rename(const char * const account_name,