4.1-4.3: add PHPUnit feature tests for all endpoints + factories
Deploy Backend / deploy (push) Failing after 2m16s

This commit is contained in:
parsa aghaei committed 2026-06-23 18:37:14 +03:30
1 parent a4025256d4
commit 37a507c742
16 files changed
+504 -37

No files matched your search

@@ -0,0 +1,20 @@
<?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(),
];
}
}