PMCORE-3129

This commit is contained in:
Andrea Adamczyk
2021-07-08 09:40:57 -04:00
parent bc169bcd77
commit ef03ffcdd3
6 changed files with 204 additions and 1 deletions

View File

@@ -1,12 +1,15 @@
<?php
/**
* Model factory for a process category
*/
use Faker\Generator as Faker;
$factory->define(\ProcessMaker\Model\ProcessCategory::class, function (Faker $faker) {
return [
'CATEGORY_UID' => G::generateUniqueID(),
'CATEGORY_ID' => $faker->randomNumber(8),
'CATEGORY_PARENT' => '',
'CATEGORY_NAME' => $faker->sentence(5),
'CATEGORY_ICON' => '',