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,7 +24,7 @@ class CourseFactory extends Factory
|
||||
{
|
||||
return [
|
||||
'lecturer_id' => Lecturer::factory(),
|
||||
'name' => $this->faker->name,
|
||||
'name' => $this->faker->name(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user