feat: upgrade phpunit to 12.5
This commit is contained in:
@@ -5,13 +5,13 @@ declare(strict_types=1);
|
||||
namespace App\Tests\Form\Model;
|
||||
|
||||
use App\BusProNet\Constants;
|
||||
use App\BusProNet\Model\Booking;
|
||||
use App\BusProNet\Model\Address;
|
||||
use App\Form\Model\AddressDto;
|
||||
use App\BusProNet\Model\Service;
|
||||
use App\BusProNet\Model\Booking;
|
||||
use App\BusProNet\Model\Insurance;
|
||||
use App\BusProNet\Model\Service;
|
||||
use App\BusProNet\Model\Travel;
|
||||
use App\BusProNet\XmlLoader\AgencyLoader;
|
||||
use App\Form\Model\AddressDto;
|
||||
use App\Form\Model\BookingDto;
|
||||
use App\Form\Model\ParticipantDto;
|
||||
use App\Form\Model\ParticipantEditDto;
|
||||
@@ -47,10 +47,10 @@ class ParticipantEditDtoTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
// Create mock services for validator dependencies
|
||||
$mockVoucherService = $this->createMock(VoucherValidator::class);
|
||||
$mockPriceCalculatorService = $this->createMock(BookingPriceCalculator::class);
|
||||
$mockParticipantEligibilityChecker = $this->createMock(ParticipantEligibilityChecker::class);
|
||||
$mockServiceAgeEvaluator = $this->createMock(ServiceAgeEvaluator::class);
|
||||
$mockVoucherService = $this->createStub(VoucherValidator::class);
|
||||
$mockPriceCalculatorService = $this->createStub(BookingPriceCalculator::class);
|
||||
$mockParticipantEligibilityChecker = $this->createStub(ParticipantEligibilityChecker::class);
|
||||
$mockServiceAgeEvaluator = $this->createStub(ServiceAgeEvaluator::class);
|
||||
|
||||
// Ski pass validation is exercised against the real gate, not a mock: which participant
|
||||
// needs a pass is exactly the behaviour under test here.
|
||||
|
||||
Reference in New Issue
Block a user