PMCORE-935
This commit is contained in:
16
database/factories/DepartmentFactory.php
Normal file
16
database/factories/DepartmentFactory.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(\ProcessMaker\Model\Department::class, function (Faker $faker) {
|
||||
return [
|
||||
'DEP_UID' => G::generateUniqueID(),
|
||||
'DEP_TITLE' => $faker->sentence(2),
|
||||
'DEP_PARENT' => '',
|
||||
'DEP_MANAGER' => '',
|
||||
'DEP_LOCATION' => 0,
|
||||
'DEP_STATUS' => 'ACTIVE',
|
||||
'DEP_REF_CODE' => '',
|
||||
'DEP_LDAP_DN' => '',
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user