mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Use Faker methods
Accessing Faker properties was deprecated in Faker 1.14.
This commit is contained in:
committed by
HolgerHatGarKeineNode
parent
5776b01d15
commit
e3c175e5fe
@@ -24,9 +24,9 @@ class LecturerFactory extends Factory
|
||||
{
|
||||
return [
|
||||
'team_id' => Team::factory(),
|
||||
'name' => $this->faker->name,
|
||||
'slug' => $this->faker->slug,
|
||||
'active' => $this->faker->boolean,
|
||||
'name' => $this->faker->name(),
|
||||
'slug' => $this->faker->slug(),
|
||||
'active' => $this->faker->boolean(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user