changed dependencies

This commit is contained in:
chrosey
2017-06-11 22:17:12 +02:00
parent 5e8d1898bc
commit 46e092f04f
6 changed files with 92 additions and 2 deletions
+12
View File
@@ -22,3 +22,15 @@ $factory->define(App\User::class, function (Faker\Generator $faker) {
'remember_token' => str_random(10),
];
});
$factory->define(App\Veranstaltung::class, function(Faker\Generator $faker) {
$date = $faker->dateTime($min = 'now');
return [
'name' => $faker->randomElement($array = array('Theaterstück 1', 'Probe 5', 'Sinfonieorchester 20')),
'beginn' => $date,
'ende' => $date->add(new DateInterval("PT4H")),
'gaeste' => $faker->numberBetween($min = 100, $max = 800),
'hinweise' => $faker->text()
];
});