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
@@ -27,8 +27,8 @@ class LibraryItemsFactory extends Factory
|
||||
'lecturer_id' => Lecturer::factory(),
|
||||
'library_id' => Library::factory(),
|
||||
'order_column' => $this->faker->randomNumber(),
|
||||
'type' => $this->faker->word,
|
||||
'value' => $this->faker->text,
|
||||
'type' => $this->faker->word(),
|
||||
'value' => $this->faker->text(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user