diff --git a/src/Models/UserModel.php b/src/Models/UserModel.php index 29b6e42..637f0e8 100644 --- a/src/Models/UserModel.php +++ b/src/Models/UserModel.php @@ -116,8 +116,8 @@ protected function addToGroup($data) public function fake(Generator &$faker): User { return new User([ - 'email' => $faker->email, - 'username' => $faker->userName, + 'email' => $faker->email(), + 'username' => $faker->userName(), 'password' => bin2hex(random_bytes(16)), ]); }