Skip to content

Commit

Permalink
refactor deprecated $this->faker to laravel fake() method
Browse files Browse the repository at this point in the history
  • Loading branch information
mderis committed Oct 28, 2024
1 parent 28a74a3 commit adea40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Infrastructure/Doubles/BookFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class BookFactory extends CoreFactory
public function definition(): array
{
return [
'title' => $this->faker->sentence,
'title' => fake()->sentence,
'author_id' => UserFactory::new(),
];
}
Expand Down

0 comments on commit adea40f

Please sign in to comment.