wip: insurance booking
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user