diff --git a/tests/Monolog/Handler/ElasticaHandlerTest.php b/tests/Monolog/Handler/ElasticaHandlerTest.php index e8d0f5df..201f6ed9 100644 --- a/tests/Monolog/Handler/ElasticaHandlerTest.php +++ b/tests/Monolog/Handler/ElasticaHandlerTest.php @@ -19,10 +19,9 @@ use Elastica\Client; 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 b63b4ab0..b27d9304 100644 --- a/tests/Monolog/Handler/ElasticsearchHandlerTest.php +++ b/tests/Monolog/Handler/ElasticsearchHandlerTest.php @@ -21,10 +21,9 @@ use Elasticsearch\ClientBuilder; 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 {