parsaaghayi-backend/database/factories/Website/SkillFactory.php
parsa aghaei 37a507c742
Some checks failed
Deploy Backend / deploy (push) Failing after 2m16s
4.1-4.3: add PHPUnit feature tests for all endpoints + factories
2026-06-23 18:37:14 +03:30

21 lines
503 B
PHP

<?php
namespace Database\Factories\Website;
use Illuminate\Database\Eloquent\Factories\Factory;
class SkillFactory extends Factory
{
protected $model = \App\Models\Website\Skill::class;
public function definition(): array
{
return [
'image' => $this->faker->imageUrl(),
'link' => $this->faker->url(),
'percentage' => $this->faker->numberBetween(10, 100),
'about_me_id' => \App\Models\Website\AboutMe::factory(),
];
}
}