PMCORE-1406
This commit is contained in:
17
database/factories/SubApplicationFactory.php
Normal file
17
database/factories/SubApplicationFactory.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(\ProcessMaker\Model\SubApplication::class, function (Faker $faker) {
|
||||
return [
|
||||
'APP_UID' => G::generateUniqueID(),
|
||||
'APP_PARENT' => G::generateUniqueID(),
|
||||
'DEL_INDEX_PARENT' => 2,
|
||||
'DEL_THREAD_PARENT' => 1,
|
||||
'SA_STATUS' => 'ACTIVE',
|
||||
'SA_VALUES_OUT' => 'a:0:{}',
|
||||
'SA_VALUES_IN' => 'a:0:{}',
|
||||
'SA_INIT_DATE' => $faker->dateTime(),
|
||||
'SA_FINISH_DATE' => $faker->dateTime(),
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user