4.1-4.3: add PHPUnit feature tests for all endpoints + factories
Deploy Backend / deploy (push) Failing after 2m16s
Deploy Backend / deploy (push) Failing after 2m16s
This commit is contained in:
1 parent
a4025256d4
commit
37a507c742
16 files changed
+504
-37
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories\Website;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class ProjectCategoryFactory extends Factory
|
||||
{
|
||||
protected $model = \App\Models\Website\ProjectCategory::class;
|
||||
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'image' => $this->faker->imageUrl(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user