Skip to content

Commit f29e333

Browse files
committed
Setup user factory
1 parent 7f36858 commit f29e333

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

database/factories/UserFactory.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ public function definition()
2727
'email' => $this->faker->unique()->safeEmail,
2828
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
2929
'remember_token' => Str::random(10),
30+
'address' => $this->faker->address,
31+
'city' => $this->faker->city,
32+
'state' => $this->faker->state,
33+
'zip_code' => $this->faker->postcode
3034
];
3135
}
3236
}

0 commit comments

Comments
 (0)