Skip to content

Commit 2637560

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents d7d2e35 + bb991d6 commit 2637560

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/Factories/UserFactory.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,13 @@ public function definition(): array
1313
return [
1414
'name' => $this->faker->name,
1515
'email' => $this->faker->unique()->safeEmail,
16-
'password' => 'password',
16+
'password' => env('DEFAULT_USER_PASSWORD', 'password'),
1717
'remember_token' => Str::random(10),
1818
'status' => $this->faker->randomElement(UserStatuses::getKeys()),
1919
'email_verified_at' => $this->faker->randomElement([now(), null]),
2020
];
2121
}
2222

23-
public function suspended(): UserFactory
24-
{
25-
return $this->state(function (array $attributes) {
26-
return [
27-
'account_status' => 'suspended',
28-
];
29-
});
30-
}
31-
3223
public function unverified(): UserFactory
3324
{
3425
return $this->state(function (array $attributes) {

0 commit comments

Comments
 (0)