Skip to content

Commit

Permalink
Fix factory
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Feb 14, 2025
1 parent 1b59ada commit 48cce17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/TeamFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function definition(): array
{
return [
'name' => fn () => $this->faker->name(),
'short_name' => fn () => $this->faker->domainWord(),
'short_name' => fn () => substr($this->faker->name(), 0, 4),
'leader_id' => User::factory(),
];
}
Expand Down

0 comments on commit 48cce17

Please sign in to comment.