feat: hide unavailable ski passes from selection in create flow
This commit is contained in:
@@ -29,6 +29,12 @@ class ParticipantFieldOptionsProviderBabyTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->serviceAvailabilityCalculator = $this->createMock(ServiceAvailabilityCalculator::class);
|
||||
// These tests target age filtering, so availability filtering passes everything through
|
||||
// unless a test stubs it explicitly
|
||||
$this->serviceAvailabilityCalculator
|
||||
->method('filterAvailableServices')
|
||||
->willReturnArgument(0)
|
||||
;
|
||||
$insuranceService = $this->createMock(InsuranceManager::class);
|
||||
$priceCalculatorService = $this->createMock(BookingPriceCalculator::class);
|
||||
$serviceLabelFormatter = new ServiceLabelFormatter();
|
||||
|
||||
Reference in New Issue
Block a user