feat: upgrade phpunit to 12.5
This commit is contained in:
@@ -34,9 +34,9 @@ class BookingEditDraftManagerMutabilityTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->service = new BookingEditDraftManager(
|
||||
$this->createMock(BookingEditDraftRepository::class),
|
||||
$this->createMock(EntityManagerInterface::class),
|
||||
$this->createMock(BookingChangeTracker::class),
|
||||
$this->createStub(BookingEditDraftRepository::class),
|
||||
$this->createStub(EntityManagerInterface::class),
|
||||
$this->createStub(BookingChangeTracker::class),
|
||||
new BookingEditDraftMerger(),
|
||||
new NullLogger(),
|
||||
);
|
||||
@@ -544,7 +544,7 @@ class BookingEditDraftManagerMutabilityTest extends TestCase
|
||||
|
||||
private function createDraft(array $formData): BookingEditDraft
|
||||
{
|
||||
$user = $this->createMock(User::class);
|
||||
$user = $this->createStub(User::class);
|
||||
|
||||
return new BookingEditDraft($user, 123, new \DateTimeImmutable(), $formData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user