Skip to content

Commit

Permalink
fix: change addresfactory remove country_id and change postcode to po…
Browse files Browse the repository at this point in the history
…stal_code
  • Loading branch information
StevyMarlino committed Oct 12, 2024
1 parent 6643e91 commit a24ed43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/database/factories/AddressFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ final class AddressFactory extends Factory
public function definition(): array
{
return [
'country_id' => Country::factory(),
'first_name' => $this->faker->firstName(),
'last_name' => $this->faker->lastName(),
'company_name' => $this->faker->company(),
'street_address' => $this->faker->streetAddress(),
'street_address_plus' => $this->faker->streetSuffix(),
'city' => $this->faker->city(),
'postcode' => $this->faker->postcode(),
'postal_code' => $this->faker->postcode(),
'type' => $this->faker->randomElement(AddressType::values()),
'shipping_default' => $this->faker->boolean,
'billing_default' => $this->faker->boolean,
Expand Down

0 comments on commit a24ed43

Please sign in to comment.