aboutsummaryrefslogtreecommitdiff
path: root/database/factories/PostFactory.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-27 23:17:19 +0100
committerMateja <mail@matejamaric.com>2020-10-27 23:17:19 +0100
commita3d432a6a0710261149fdaecdc2a5a62a82fe303 (patch)
tree7045451baab059a7ee5c630ba79e59d90e61d25e /database/factories/PostFactory.php
parent70af943af67e05656f8000a832ef7f27b4db4e6f (diff)
downloadyota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.tar.gz
yota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.zip
Validator::make and html5 required
Diffstat (limited to 'database/factories/PostFactory.php')
-rw-r--r--database/factories/PostFactory.php2
1 files changed, 1 insertions, 1 deletions
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,
];