refactor: improve address generation in Company and Student data factories

This commit is contained in:
Veronika Fehérvíziová
2025-12-02 19:30:54 +01:00
parent 1d2016c011
commit 9de30a7df1
2 changed files with 2 additions and 2 deletions
@@ -18,7 +18,7 @@ class StudentDataFactory extends Factory
{
return [
'user_id' => 0,
'address' => fake()->address(),
'address' => fake()->streetAddress() . ", " . fake()->city() . ", " . fake()->postcode(),
'personal_email' => fake()->safeEmail(),
'study_field' => fake()->randomElement(["AI22m", "AI22b"]),
];