diff --git a/backend/database/factories/CompanyFactory.php b/backend/database/factories/CompanyFactory.php index 44b328a..ea8ac44 100644 --- a/backend/database/factories/CompanyFactory.php +++ b/backend/database/factories/CompanyFactory.php @@ -18,7 +18,7 @@ class CompanyFactory extends Factory { return [ 'name' => fake()->company(), - 'address' => fake()->address(), + 'address' => fake()->streetAddress() . ", " . fake()->city() . ", " . fake()->postcode(), 'ico' => fake()->numberBetween(111111, 999999), 'contact' => 0, 'hiring' => fake()->boolean(), diff --git a/backend/database/factories/StudentDataFactory.php b/backend/database/factories/StudentDataFactory.php index 31b910a..64d06cc 100644 --- a/backend/database/factories/StudentDataFactory.php +++ b/backend/database/factories/StudentDataFactory.php @@ -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"]), ];