Fixed tests to work with cmocka 0.4.1

This commit is contained in:
James Booth
2014-05-26 01:05:19 +01:00
parent 60b59d984a
commit 52f66fde10
6 changed files with 17 additions and 17 deletions

View File

@@ -11,13 +11,13 @@ static ProfAccount *
_mock_accounts_get_account(const char * const name)
{
check_expected(name);
return (ProfAccount *)mock();
return mock_ptr_type(ProfAccount *);
}
gchar **
_mock_accounts_get_list(void)
{
return (gchar **)mock();
return mock_ptr_type(gchar **);
}
void