feat: extract booking session handling
This commit is contained in:
1 parent
ca052682bb
commit
8b72f8c277
21 files changed
+485
-330
No files matched your search
@@ -13,6 +13,7 @@ use App\Form\Model\BookingDto;
|
||||
use App\Form\Model\ParticipantDto;
|
||||
use App\Service\BookingPriceCalculatorService;
|
||||
use App\Service\BookingService;
|
||||
use App\Service\BookingSessionService;
|
||||
use App\Service\ParticipantEligibilityService;
|
||||
use App\Service\TravelDataService;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
@@ -32,6 +33,7 @@ class BookingServiceBabyTest extends TestCase
|
||||
$agencyLoader = $this->createMock(AgencyLoader::class);
|
||||
|
||||
$this->bookingService = new BookingService(
|
||||
$this->createMock(BookingSessionService::class),
|
||||
$travelDataService,
|
||||
$priceCalculator,
|
||||
$this->participantEligibilityService,
|
||||
|
||||
Reference in new issue
Block a user