mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 04:02:15 +01:00
Updated dependencies; Fixed codeformatting and phpstan
This commit is contained in:
committed by
Constantin Graf
parent
5b7df869ad
commit
d8968399d6
@@ -49,4 +49,11 @@ class OrganizationFactory extends Factory
|
||||
'user_id' => $owner === null ? User::factory() : $owner->getKey(),
|
||||
]);
|
||||
}
|
||||
|
||||
public function withFakeId(): self
|
||||
{
|
||||
return $this->state(fn (array $attributes) => [
|
||||
'id' => $this->faker->uuid(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user