feat: always show all available ski passes but readonly if age doesn't match
This commit is contained in:
@@ -15,6 +15,7 @@ use App\Service\BookingPriceCalculatorService;
|
||||
use App\Service\InsuranceService;
|
||||
use App\Service\ServiceAvailabilityCalculator;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
|
||||
class ParticipantFieldOptionsProviderBabyTest extends TestCase
|
||||
{
|
||||
@@ -26,11 +27,13 @@ class ParticipantFieldOptionsProviderBabyTest extends TestCase
|
||||
$this->serviceAvailabilityCalculator = $this->createMock(ServiceAvailabilityCalculator::class);
|
||||
$insuranceService = $this->createMock(InsuranceService::class);
|
||||
$priceCalculatorService = $this->createMock(BookingPriceCalculatorService::class);
|
||||
$translator = $this->createMock(TranslatorInterface::class);
|
||||
|
||||
$this->provider = new ParticipantFieldOptionsProvider(
|
||||
$this->serviceAvailabilityCalculator,
|
||||
$insuranceService,
|
||||
$priceCalculatorService
|
||||
$priceCalculatorService,
|
||||
$translator
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user