PMC-931 Add unit tests for the feature PMC-852
This commit is contained in:
17
database/factories/ProcessFilesFactory.php
Normal file
17
database/factories/ProcessFilesFactory.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(\ProcessMaker\Model\ProcessFiles::class, function(Faker $faker) {
|
||||
return [
|
||||
'PRF_UID' => G::generateUniqueID(),
|
||||
'PRO_UID' => '',
|
||||
'USR_UID' => '',
|
||||
'PRF_UPDATE_USR_UID' => '',
|
||||
'PRF_PATH' => '',
|
||||
'PRF_TYPE' => '',
|
||||
'PRF_EDITABLE' => 1,
|
||||
'PRF_CREATE_DATE' => $faker->dateTime(),
|
||||
'PRF_UPDATE_DATE' => $faker->dateTime(),
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user