test(factories): add missing model factories for app test suite

Enable `HasFactory` on `Environment`, `Project`, `ScheduledTask`, and
`StandaloneDocker`, and add dedicated factories for related models to
stabilize feature/unit tests.

Also bump `visus/cuid2` to `^6.0` and refresh `composer.lock` with the
resulting dependency updates.
This commit is contained in:
Andras Bacsai committed 2026-03-03 09:50:05 +01:00
1 parent e1a7c64f37
commit 7ae76ebc79
20 files changed
+752 -635

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class ProjectFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->unique()->company(),
'team_id' => 1,
];
}
}