auth tests

This commit is contained in:
Giuseppe Naponiello
2026-06-22 14:31:44 +02:00
parent 34a8ebc6fb
commit cc4e174880
75 changed files with 4679 additions and 168 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Database\Factories\Lists;
use App\Models\Lists\UserRole;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<UserRole>
*/
class UserRoleFactory extends Factory
{
protected $model = UserRole::class;
/**
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'name' => ucfirst($this->faker->unique()->word()),
'description' => $this->faker->sentence(),
];
}
}