replace PHPUnit annotations with attributes (#5608)
This commit is contained in:
@@ -9,21 +9,22 @@
|
||||
|
||||
namespace App\Tests\Command;
|
||||
|
||||
use App\Command\AbstractRoleCommand;
|
||||
use App\Command\DemoteUserCommand;
|
||||
use App\Entity\User;
|
||||
use App\Repository\UserRepository;
|
||||
use App\User\UserService;
|
||||
use Doctrine\Bundle\DoctrineBundle\Registry;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\Attributes\Group;
|
||||
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Console\Exception\RuntimeException;
|
||||
use Symfony\Component\Console\Tester\CommandTester;
|
||||
|
||||
/**
|
||||
* @covers \App\Command\AbstractRoleCommand
|
||||
* @covers \App\Command\DemoteUserCommand
|
||||
* @group integration
|
||||
*/
|
||||
#[CoversClass(AbstractRoleCommand::class)]
|
||||
#[CoversClass(DemoteUserCommand::class)]
|
||||
#[Group('integration')]
|
||||
class DemoteUserCommandTest extends KernelTestCase
|
||||
{
|
||||
private Application $application;
|
||||
|
||||
Reference in New Issue
Block a user