feat: upgrade phpunit to 12.5
This commit is contained in:
@@ -34,14 +34,14 @@ class CreateControllerTest extends TestCase
|
||||
|
||||
private function buildController(?UserInterface $user): TestableCreateController
|
||||
{
|
||||
$form = $this->createMock(FormInterface::class);
|
||||
$form = $this->createStub(FormInterface::class);
|
||||
$form->method('handleRequest')->willReturn($form);
|
||||
$form->method('isSubmitted')->willReturn(false);
|
||||
|
||||
return new TestableCreateController(
|
||||
$this->createMock(EntityManagerInterface::class),
|
||||
$this->createMock(LoggerInterface::class),
|
||||
$this->createMock(AccommodationBookingService::class),
|
||||
$this->createStub(EntityManagerInterface::class),
|
||||
$this->createStub(LoggerInterface::class),
|
||||
$this->createStub(AccommodationBookingService::class),
|
||||
$form,
|
||||
$user,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user