new deployer command
This commit is contained in:
@@ -17,6 +17,8 @@ use Modules\Helpdesk\Models\Ticket;
|
||||
*/
|
||||
final class TicketFactory extends Factory
|
||||
{
|
||||
private const FACTORY_BODY = self::FACTORY_BODY;
|
||||
|
||||
/**
|
||||
* The model name for the factory.
|
||||
*
|
||||
@@ -74,9 +76,9 @@ final class TicketFactory extends Factory
|
||||
$put('reference', 'HD-' . now()->format('Y') . '-' . str_pad((string) $this->faker->unique()->numberBetween(1, 9999), 4, '0', STR_PAD_LEFT));
|
||||
$put('subject', 'Factory helpdesk ticket');
|
||||
$put('title', 'Factory helpdesk ticket');
|
||||
$put('body', '<p>Factory helpdesk ticket body.</p>');
|
||||
$put('details', '<p>Factory helpdesk ticket body.</p>');
|
||||
$put('description', '<p>Factory helpdesk ticket body.</p>');
|
||||
$put('body', self::FACTORY_BODY);
|
||||
$put('details', self::FACTORY_BODY);
|
||||
$put('description', self::FACTORY_BODY);
|
||||
$put('search_text', 'factory helpdesk ticket body');
|
||||
$put('last_activity_at', now());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user