feat: upgrade phpunit to 12.5
This commit is contained in:
@@ -72,10 +72,10 @@ class BookingSummaryAssemblerTest extends TestCase
|
||||
|
||||
private function createService(): BookingSummaryAssembler
|
||||
{
|
||||
$priceCalculator = $this->createMock(BookingPriceCalculator::class);
|
||||
$priceCalculator = $this->createStub(BookingPriceCalculator::class);
|
||||
$priceCalculator->method('calculateAllParticipantIndividualPrices')->willReturn([]);
|
||||
|
||||
$pricingAssembler = $this->createMock(BookingPricingAssembler::class);
|
||||
$pricingAssembler = $this->createStub(BookingPricingAssembler::class);
|
||||
$pricingAssembler->method('getPricingBreakdown')->willReturn([
|
||||
'rooms' => [],
|
||||
'services' => [],
|
||||
@@ -86,10 +86,10 @@ class BookingSummaryAssemblerTest extends TestCase
|
||||
return new BookingSummaryAssembler(
|
||||
$priceCalculator,
|
||||
$pricingAssembler,
|
||||
$this->createMock(CmsDataProvider::class),
|
||||
$this->createMock(HotelLoader::class),
|
||||
$this->createMock(CountryDataProvider::class),
|
||||
$this->createMock(CacheInterface::class),
|
||||
$this->createStub(CmsDataProvider::class),
|
||||
$this->createStub(HotelLoader::class),
|
||||
$this->createStub(CountryDataProvider::class),
|
||||
$this->createStub(CacheInterface::class),
|
||||
new NullLogger(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user