PMC-931 Add unit tests for the feature PMC-852
This commit is contained in:
23
database/factories/EmailServerFactory.php
Normal file
23
database/factories/EmailServerFactory.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(\ProcessMaker\Model\EmailServer::class, function(Faker $faker) {
|
||||
return [
|
||||
'MESS_UID' => G::generateUniqueID(),
|
||||
'MESS_ENGINE' => '',
|
||||
'MESS_SERVER' => '',
|
||||
'MESS_PORT' => 0,
|
||||
'MESS_INCOMING_SERVER' => '',
|
||||
'MESS_INCOMING_PORT' => 0,
|
||||
'MESS_RAUTH' => 0,
|
||||
'MESS_ACCOUNT' => '',
|
||||
'MESS_PASSWORD' => '',
|
||||
'MESS_FROM_MAIL' => '',
|
||||
'MESS_FROM_NAME' => '',
|
||||
'SMTPSECURE' => 'No',
|
||||
'MESS_TRY_SEND_INMEDIATLY' => 0,
|
||||
'MAIL_TO' => '',
|
||||
'MESS_DEFAULT' => 0,
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user