chore: upgrade phpunit to 12.5
This commit is contained in:
1 parent
da039d0527
commit
849da8d471
53 files changed
+832
-856
No files matched your search
@@ -8,10 +8,12 @@ use App\Entity\Teamer;
|
||||
use App\Entity\User;
|
||||
use App\Service\Teamer\AccountDeletionHandler;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
#[AllowMockObjectsWithoutExpectations]
|
||||
class AccountDeletionHandlerTest extends TestCase
|
||||
{
|
||||
private EntityManagerInterface&MockObject $entityManager;
|
||||
@@ -23,7 +25,7 @@ class AccountDeletionHandlerTest extends TestCase
|
||||
|
||||
$this->handler = new AccountDeletionHandler(
|
||||
$this->entityManager,
|
||||
$this->createMock(LoggerInterface::class),
|
||||
$this->createStub(LoggerInterface::class),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user