Skip to content

Commit 0794260

Browse files
committed
build: fix country factory
1 parent 09699f6 commit 0794260

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/factories/CountryFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class CountryFactory extends Factory
2222
public function definition(): array
2323
{
2424
return [
25-
'id' => fake()->lexify('??'),
26-
'a3_id' => fake()->lexify('???'),
25+
'id' => strtoupper(fake()->lexify('??')),
26+
'a3_id' => strtoupper(fake()->lexify('???')),
2727
'num_code' => str_pad(fake()->numberBetween(1, 999), 3, '0', STR_PAD_LEFT),
2828
'name' => fake()->country(),
2929
'flag' => fake()->emoji(),

0 commit comments

Comments
 (0)