2FAuth/database/factories/GroupFactory.php
2020-11-05 22:54:49 +01:00

25 lines
619 B
PHP

<?php
/* @var $group \Illuminate\Database\Eloquent\Factory */
use App\Group;
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/
$factory->define(Group::class, function (Faker $faker) {
return [
'name' => $faker->word,
];
});