diff --git a/tests/Monolog/Handler/ElasticaHandlerTest.php b/tests/Monolog/Handler/ElasticaHandlerTest.php index e8d0f5df7..201f6ed98 100644 --- a/tests/Monolog/Handler/ElasticaHandlerTest.php +++ b/tests/Monolog/Handler/ElasticaHandlerTest.php @@ -19,10 +19,9 @@ use Elastica\Request; use Elastica\Response; use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Group; -/** - * @group Elastica - */ +#[Group('Elastica')] class ElasticaHandlerTest extends TestCase { /** diff --git a/tests/Monolog/Handler/ElasticsearchHandlerTest.php b/tests/Monolog/Handler/ElasticsearchHandlerTest.php index b63b4ab0a..b27d93049 100644 --- a/tests/Monolog/Handler/ElasticsearchHandlerTest.php +++ b/tests/Monolog/Handler/ElasticsearchHandlerTest.php @@ -21,10 +21,9 @@ use Elastic\Elasticsearch\ClientBuilder as ClientBuilder8; use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Group; -/** - * @group Elasticsearch - */ +#[Group('Elasticsearch')] #[CoversClass(ElasticsearchHandler::class)] class ElasticsearchHandlerTest extends TestCase {