diff --git a/src/Service/ParticipantDataPrefiller.php b/src/Service/ParticipantDataPrefiller.php index c6a45cf..962c23a 100644 --- a/src/Service/ParticipantDataPrefiller.php +++ b/src/Service/ParticipantDataPrefiller.php @@ -142,7 +142,7 @@ class ParticipantDataPrefiller $address->street = 'Musterstr. 123'; $address->postCode = '99999'; $address->city = 'MusterOrt'; - $address->country = 'Deutschland'; + $address->country = 'DE'; $participant->address = $address; } } diff --git a/tests/Service/ParticipantDataPrefillerTest.php b/tests/Service/ParticipantDataPrefillerTest.php index 6bd2c04..717b601 100644 --- a/tests/Service/ParticipantDataPrefillerTest.php +++ b/tests/Service/ParticipantDataPrefillerTest.php @@ -276,6 +276,7 @@ class ParticipantDataPrefillerTest extends TestCase $this->assertSame('teilnehmer.in1@example.com', $participant->email); $this->assertSame('2006-01-15', $participant->dateOfBirth?->format('Y-m-d')); $this->assertSame('Musterstr. 123', $participant->address?->street); + $this->assertSame('DE', $participant->address?->country); CarbonImmutable::setTestNow(); }