feat: unify pickup selection

This commit is contained in:
Björn Fromme committed 2026-03-16 11:59:10 +01:00
1 parent 0f4b16c194
commit e330626b03
19 files changed
+119 -325

No files matched your search

@@ -112,12 +112,12 @@ class ParticipantValidatorTest extends ConstraintValidatorTestCase
$busService = new Service();
$busService->subType = 'BUS';
$participant->transportationOutbound = $busService;
$participant->pickupOutbound = null;
$participant->pickup = null;
$this->validator->validate($participant, new Participant());
$this->buildViolation('Bitte auswählen')
->atPath('property.path.pickupOutbound')
->atPath('property.path.pickup')
->assertRaised();
}
@@ -128,7 +128,7 @@ class ParticipantValidatorTest extends ConstraintValidatorTestCase
$trainService = new Service();
$trainService->subType = 'TRAIN';
$participant->transportationOutbound = $trainService;
$participant->pickupOutbound = null; // Not required for non-bus
$participant->pickup = null; // Not required for non-bus
$this->validator->validate($participant, new Participant());