A free open source IT asset/license management system
Update some faker calls
Marcus Moore582c3b987b5f
diff --git a/database/factories/CompanyFactory.php b/database/factories/CompanyFactory.phpindex 695a2dbdb5..00dcf911c1 100644--- a/database/factories/CompanyFactory.php+++ b/database/factories/CompanyFactory.php@@ -39,7 +39,7 @@ class CompanyFactory extends Factorypublic function definition(){return [- 'name' => $this->faker->company,+ 'name' => $this->faker->company(),];}}diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.phpindex aaed569679..f40301753b 100644--- a/database/factories/UserFactory.php+++ b/database/factories/UserFactory.php@@ -22,7 +22,7 @@ class UserFactory extends Factory'city' => $this->faker->city(),'company_id' => Company::factory(),'country' => $this->faker->country(),- 'email' => $this->faker->safeEmail,+ 'email' => $this->faker->safeEmail(),'employee_num' => $this->faker->numberBetween(3500, 35050),'first_name' => $this->faker->firstName(),'jobtitle' => $this->faker->jobTitle(),@@ -31,10 +31,10 @@ class UserFactory extends Factory'notes' => 'Created by DB seeder','password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password'permissions' => '{"user":"0"}',- 'phone' => $this->faker->phoneNumber,- 'state' => $this->faker->stateAbbr,- 'username' => $this->faker->username,- 'zip' => $this->faker->postcode,+ 'phone' => $this->faker->phoneNumber(),+ 'state' => $this->faker->stateAbbr(),+ 'username' => $this->faker->username(),+ 'zip' => $this->faker->postcode(),];}