Fix relative date in BlogArticle factory
This commit is contained in:
parent
e23bf8c0f7
commit
9716b989ab
@ -24,7 +24,7 @@ class BlogArticleFactory extends Factory
|
||||
return [
|
||||
'title' => $this->faker->text(100),
|
||||
'slug' => $this->faker->slug(),
|
||||
'date' => $this->faker->dateTimeBetween('100d'),
|
||||
'date' => $this->faker->dateTimeBetween('-100 days'),
|
||||
'summary' => $this->faker->text(200),
|
||||
'content' => $this->faker->text(1000),
|
||||
'views' => $this->faker->numberBetween(0, 50),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user