25 lines
601 B
PHP
25 lines
601 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Mailbox;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/** @extends Factory<Mailbox> */
|
|
class MailboxFactory extends Factory
|
|
{
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'key' => $this->faker->unique()->word(),
|
|
'address' => $this->faker->unique()->safeEmail(),
|
|
'display_name' => 'CluPilot',
|
|
'username' => null,
|
|
'password' => 'test-passwort',
|
|
'authenticates' => true,
|
|
'no_reply' => false,
|
|
'active' => true,
|
|
];
|
|
}
|
|
}
|