9bb192b97f
* Add boolean field "disable activity checks" to role, check for this field inside PilotLeave-Check, add tests * fix checkbox on form * CS fixes * CS fixes again :-) Co-authored-by: Andreas Palm <ap@ewsp.de>
14 lines
374 B
PHP
14 lines
374 B
PHP
<?php
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(App\Models\Role::class, function (Faker $faker) {
|
|
return [
|
|
'id' => null,
|
|
'name' => $faker->name,
|
|
'display_name' => $faker->name,
|
|
'read_only' => false,
|
|
'disable_activity_checks' => $faker->boolean(),
|
|
];
|
|
});
|