mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Another attempt at fixing some tests. I'm probably searching in the wrong direction with this.
This commit is contained in:
parent
b38ed06f6e
commit
8520a5002f
@ -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,
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user