PMCORE-3880 PhpUnit: Error: Call to undefined function factory

This commit is contained in:
Roly Gutierrez
2022-07-21 00:04:21 -04:00
parent 99fa155266
commit 01833eb210
295 changed files with 6494 additions and 4762 deletions

View File

@@ -2,6 +2,7 @@
namespace ProcessMaker\Model;
use App\Factories\HasFactory;
use Configurations;
use Exception;
use G;
@@ -10,6 +11,8 @@ use RBAC;
class Process extends Model
{
use HasFactory;
// Set our table name
protected $table = 'PROCESS';
protected $primaryKey = 'PRO_ID';