From a3d432a6a0710261149fdaecdc2a5a62a82fe303 Mon Sep 17 00:00:00 2001 From: Mateja Date: Tue, 27 Oct 2020 23:17:19 +0100 Subject: Validator::make and html5 required --- database/factories/PostFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'database') diff --git a/database/factories/PostFactory.php b/database/factories/PostFactory.php index 0b00530..ea950a1 100644 --- a/database/factories/PostFactory.php +++ b/database/factories/PostFactory.php @@ -22,7 +22,7 @@ class PostFactory extends Factory public function definition() { return [ - 'title' => $this->faker->title, + 'title' => $this->faker->word, 'author' => $this->faker->name, 'text' => $this->faker->text, ]; -- cgit v1.2.3