Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
MohmmedAshraf committed Apr 23, 2024
1 parent 1445268 commit ae781a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions database/factories/ContributorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class ContributorFactory extends Factory
public function definition(): array
{
return [
'name' => $this->faker->name,
'email' => $this->faker->unique()->email,
'name' => $this->faker->name(),
'email' => $this->faker->unique()->safeEmail(),
'role' => $this->faker->randomElement(['admin', 'translator']),
'password' => bcrypt('password'),
'remember_token' => null,
Expand Down
2 changes: 1 addition & 1 deletion database/factories/InviteFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class InviteFactory extends Factory
public function definition(): array
{
return [
'email' => $this->faker->email(),
'token' => $this->faker->uuid(),
'email' => $this->faker->unique()->safeEmail(),
'role' => $this->faker->randomElement(RoleEnum::cases()),
];
}
Expand Down

0 comments on commit ae781a8

Please sign in to comment.