From 613eaea74b24d9b14af05ce9ba3ab675d3d5d1d7 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 12 Apr 2024 17:30:46 +0200 Subject: [PATCH] Fix group annotations --- tests/Monolog/Handler/ElasticaHandlerTest.php | 5 ++--- tests/Monolog/Handler/ElasticsearchHandlerTest.php | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) 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 {