fix: default participant's nationality to German to avoid missing data

This commit is contained in:
Björn Fromme
2026-03-16 12:02:59 +01:00
parent 71a46c6b63
commit 7708ea6a0f
2 changed files with 3 additions and 3 deletions
@@ -107,10 +107,10 @@ class ParticipantPrepopulationServiceTest extends TestCase
$this->assertSame('Smith', $result->lastName);
$this->assertSame('[email protected]', $result->email);
// Optional fields should be null
// Optional fields should be null (except nationality which defaults to 'D')
$this->assertNull($result->title);
$this->assertNull($result->gender);
$this->assertNull($result->nationality);
$this->assertSame('D', $result->nationality);
$this->assertNull($result->mobile);
$this->assertNull($result->height);
$this->assertNull($result->weight);