diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index cb1ccd89b5..5c885666df 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -38,6 +38,16 @@ class UserFactory extends Factory ]; } + public function deletedUser() + { + return $this->state(function () { + return [ + 'deleted_at' => $this->faker->dateTime(), + ]; + }); + } + + public function firstAdmin() { return $this->state(function () {