vito/database/factories/SshKeyFactory.php
Saeed Vaziry e1eb42059f code style fix
add command tests
2023-09-02 16:41:42 +02:00

20 lines
367 B
PHP

<?php
namespace Database\Factories;
use App\Models\SshKey;
use Illuminate\Database\Eloquent\Factories\Factory;
class SshKeyFactory extends Factory
{
protected $model = SshKey::class;
public function definition(): array
{
return [
'name' => $this->faker->name(),
'public_key' => 'public-key-content',
];
}
}