replace PHPUnit annotations with attributes (#5608)
This commit is contained in:
@@ -12,13 +12,12 @@ namespace App\Tests\Ldap;
|
||||
use App\Entity\User;
|
||||
use App\Ldap\LdapManager;
|
||||
use App\Ldap\LdapUserProvider;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
|
||||
use Symfony\Component\Security\Core\Exception\UserNotFoundException;
|
||||
|
||||
/**
|
||||
* @covers \App\Ldap\LdapUserProvider
|
||||
*/
|
||||
#[CoversClass(LdapUserProvider::class)]
|
||||
class LdapUserProviderTest extends TestCase
|
||||
{
|
||||
public function testLoadUserByIdentifierReturnsNull(): void
|
||||
|
||||
Reference in New Issue
Block a user