tests: update unit tests

Not really a best practise. They should have been run before each commit
and updated accordingly. Next time..
This commit is contained in:
Michael Vetter
2026-02-27 23:01:14 +01:00
parent 02cde29b65
commit 36b15ec6d5
12 changed files with 215 additions and 215 deletions

View File

@@ -50,10 +50,10 @@ cmd_account_list_shows_accounts(void** state)
{
gchar* args[] = { "list", NULL };
gchar** accounts = g_new0(gchar, 4);
accounts[0] = strdup("account1");
accounts[1] = strdup("account2");
accounts[2] = strdup("account3");
gchar** accounts = g_new0(gchar*, 4);
accounts[0] = g_strdup("account1");
accounts[1] = g_strdup("account2");
accounts[2] = g_strdup("account3");
accounts[3] = NULL;
will_return(accounts_get_list, accounts);