replace PHPUnit annotations with attributes (#5608)
This commit is contained in:
@@ -12,11 +12,10 @@ namespace App\Tests\Event;
|
||||
use App\Entity\User;
|
||||
use App\Entity\UserPreference;
|
||||
use App\Event\UserPreferenceEvent;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers \App\Event\UserPreferenceEvent
|
||||
*/
|
||||
#[CoversClass(UserPreferenceEvent::class)]
|
||||
class UserPreferenceEventTest extends TestCase
|
||||
{
|
||||
public function testGetterAndSetter(): void
|
||||
|
||||
Reference in New Issue
Block a user