diff --git a/tests/Support/database/factories/CommentFactory.php b/tests/Support/database/factories/CommentFactory.php index bb2a336f..064cc6ec 100644 --- a/tests/Support/database/factories/CommentFactory.php +++ b/tests/Support/database/factories/CommentFactory.php @@ -16,8 +16,8 @@ class CommentFactory extends Factory public function definition(): array { return [ - 'title' => fake()->title, - 'body' => fake()->sentence, + 'title' => fake()->title(), + 'body' => fake()->sentence(), ]; } } diff --git a/tests/Support/database/factories/PostFactory.php b/tests/Support/database/factories/PostFactory.php index 4683c1e9..32881304 100644 --- a/tests/Support/database/factories/PostFactory.php +++ b/tests/Support/database/factories/PostFactory.php @@ -16,8 +16,8 @@ class PostFactory extends Factory public function definition(): array { return [ - 'title' => fake()->title, - 'body' => fake()->sentence, + 'title' => fake()->title(), + 'body' => fake()->sentence(), ]; } } diff --git a/tests/Support/database/factories/UserFactory.php b/tests/Support/database/factories/UserFactory.php index a2392ed4..8eee3664 100644 --- a/tests/Support/database/factories/UserFactory.php +++ b/tests/Support/database/factories/UserFactory.php @@ -16,7 +16,7 @@ class UserFactory extends Factory public function definition(): array { return [ - 'name' => fake()->name, + 'name' => fake()->name(), ]; } }