mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Another attempt at fixing some tests. I'm probably searching in the wrong direction with this.
This commit is contained in:
@@ -50,8 +50,8 @@ FactoryMuffin::define(
|
||||
'FireflyIII\Models\AccountType', [
|
||||
'type' => function () {
|
||||
$types = ['Expense account', 'Revenue account', 'Asset account'];
|
||||
|
||||
return $types[rand(0, 2)];
|
||||
$count = DB::table('account_types')->count();
|
||||
return $types[$count];
|
||||
},
|
||||
'editable' => 1,
|
||||
]
|
||||
|
Reference in New Issue
Block a user