wip: finalize implementation

This commit is contained in:
Björn Fromme
2025-10-17 18:46:25 +02:00
parent dc7ed0728a
commit 434c4d0a11
20 changed files with 112 additions and 224 deletions
@@ -16,6 +16,7 @@ use App\BusProNet\Model\Service;
use App\BusProNet\Model\Travel;
use App\Form\Model\BookingDto;
use App\Form\Model\ParticipantDto;
use App\Service\InsuranceMatchingService;
use PHPUnit\Framework\TestCase;
/**
@@ -30,7 +31,10 @@ class BookingDataProcessorTest extends TestCase
protected function setUp(): void
{
$this->processor = new BookingDataProcessor();
// Create a mock InsuranceMatchingService
$insuranceMatchingService = $this->createMock(InsuranceMatchingService::class);
$this->processor = new BookingDataProcessor($insuranceMatchingService);
}
public function testCreateUpdateRequestPayloadWithCompleteData(): void