wip: insurance booking

This commit is contained in:
Björn Fromme
2025-09-29 19:54:20 +02:00
parent 0809f07d46
commit 90ae78262a
19 changed files with 807 additions and 128 deletions
@@ -171,7 +171,11 @@ class InsuranceMatchingServiceTest extends TestCase
$result = $this->service->getEligibleInsurances([$insurance], $participant, $booking);
$this->assertEmpty($result);
// Participants without birth date should now have insurances available
// (field visibility is controlled by field state conditions, not service logic)
$this->assertNotEmpty($result);
$this->assertCount(1, $result);
$this->assertSame($insurance, $result[0]);
}
public function testGetEligibleInsurancesWithNullConstraints(): void