mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 23:41:10 +00:00
Fixed JSON controller tests.
This commit is contained in:
@@ -66,6 +66,21 @@ FactoryMuffin::define(
|
||||
]
|
||||
);
|
||||
|
||||
FactoryMuffin::define(
|
||||
'FireflyIII\Models\Tag',
|
||||
[
|
||||
'description' => 'sentence',
|
||||
'user_id' => 'factory|FireflyIII\User',
|
||||
'tag' => function () {
|
||||
return RandomString::generateRandomString(20);
|
||||
},
|
||||
'tagMode' => 'nothing',
|
||||
'date' => 'date',
|
||||
'latitude' => 12,
|
||||
'longitude' => 13,
|
||||
]
|
||||
);
|
||||
|
||||
FactoryMuffin::define(
|
||||
'FireflyIII\Models\Budget',
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user