replace PHPUnit annotations with attributes (#5608)
This commit is contained in:
@@ -14,14 +14,14 @@ 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\Tester\CommandTester;
|
||||
|
||||
/**
|
||||
* @covers \App\Command\CreateUserCommand
|
||||
* @group integration
|
||||
*/
|
||||
#[CoversClass(CreateUserCommand::class)]
|
||||
#[Group('integration')]
|
||||
class CreateUserCommandTest extends KernelTestCase
|
||||
{
|
||||
private Application $application;
|
||||
|
||||
Reference in New Issue
Block a user