Update ArticleFactory.php
This commit is contained in:
@@ -9,6 +9,7 @@ use Faker\Generator as Faker;
|
|||||||
$factory->define(Article::class, function (Faker $faker) {
|
$factory->define(Article::class, function (Faker $faker) {
|
||||||
return [
|
return [
|
||||||
'title' => $faker->sentence,
|
'title' => $faker->sentence,
|
||||||
|
'url' => $faker->url,
|
||||||
'author' => $faker->name,
|
'author' => $faker->name,
|
||||||
'featured_image' => "https://images-01.avas.mv/post/big_pUd28VpL9K3vQJjHbAZDYlaBl.jpg",
|
'featured_image' => "https://images-01.avas.mv/post/big_pUd28VpL9K3vQJjHbAZDYlaBl.jpg",
|
||||||
"body" => $faker->paragraph,
|
"body" => $faker->paragraph,
|
||||||
|
|||||||
Reference in New Issue
Block a user