fix: prefill correct value for country in dummy data

This commit is contained in:
Björn Fromme
2026-06-08 17:18:42 +02:00
parent b768af15fe
commit 3fb95cab92
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ class ParticipantDataPrefiller
$address->street = 'Musterstr. 123'; $address->street = 'Musterstr. 123';
$address->postCode = '99999'; $address->postCode = '99999';
$address->city = 'MusterOrt'; $address->city = 'MusterOrt';
$address->country = 'Deutschland'; $address->country = 'DE';
$participant->address = $address; $participant->address = $address;
} }
} }
@@ -276,6 +276,7 @@ class ParticipantDataPrefillerTest extends TestCase
$this->assertSame('[email protected]', $participant->email); $this->assertSame('[email protected]', $participant->email);
$this->assertSame('2006-01-15', $participant->dateOfBirth?->format('Y-m-d')); $this->assertSame('2006-01-15', $participant->dateOfBirth?->format('Y-m-d'));
$this->assertSame('Musterstr. 123', $participant->address?->street); $this->assertSame('Musterstr. 123', $participant->address?->street);
$this->assertSame('DE', $participant->address?->country);
CarbonImmutable::setTestNow(); CarbonImmutable::setTestNow();
} }