Fixed JSON controller tests.

This commit is contained in:
James Cole
2015-05-02 23:39:39 +02:00
parent 06c6d6096f
commit 26079622f9
2 changed files with 33 additions and 0 deletions

View File

@@ -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',
[