Jordi Boggiano 1 год назад
Родитель
Сommit
613eaea74b

+ 2 - 3
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
 {
     /**

+ 2 - 3
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
 {