mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 11:08:53 +01:00
Add to model factory
This commit is contained in:
parent
3f26f40fae
commit
c4eedd2b8b
@ -45,6 +45,7 @@ $factory->define(ComponentGroup::class, function ($faker) {
|
||||
$factory->define(Incident::class, function ($faker) {
|
||||
return [
|
||||
'name' => $faker->sentence(),
|
||||
'user_id' => factory(User::class)->create()->id,
|
||||
'message' => $faker->paragraph(),
|
||||
'status' => mt_rand(1, 4),
|
||||
'visible' => 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user