wip: insurance booking

This commit is contained in:
Björn Fromme committed 2025-09-29 19:54:20 +02:00
1 parent 0809f07d46
commit 90ae78262a
19 files changed
+807 -128

No files matched your search

@@ -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