Skip to content

Commit

Permalink
add logo field to faker class
Browse files Browse the repository at this point in the history
  • Loading branch information
stentrop committed Oct 25, 2023
1 parent bc62205 commit 9ed5e85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Services/ItemSearch/Factories/Faker/ItemFaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function fill($data)
"name" => $this->trans("IO::Faker.manufacturerName"),
"icon" => $this->image(),
"externalName" => $this->word(),
"position" => $this->number(0, 100)
"position" => $this->number(0, 100),
"logo" => $this->image()
],
"producingCountry" => [
"id" => $producingCountry->id,
Expand All @@ -83,4 +84,4 @@ public function fill($data)
$this->merge($data, $default);
return $data;
}
}
}

0 comments on commit 9ed5e85

Please sign in to comment.