summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/pgsql')
-rw-r--r--core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecationTest.php (renamed from core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php)9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php b/core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecationTest.php
index db2c1b88ea3..043b5838d5a 100644
--- a/core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecation.php
+++ b/core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecationTest.php
@@ -8,17 +8,20 @@ use Drupal\Core\Entity\Query\Sql\QueryFactory as BaseQueryFactory;
use Drupal\Core\Entity\Query\Sql\pgsql\QueryFactory as DeprecatedQueryFactory;
use Drupal\KernelTests\KernelTestBase;
use Drupal\pgsql\EntityQuery\QueryFactory;
+use PHPUnit\Framework\Attributes\Group;
+use PHPUnit\Framework\Attributes\IgnoreDeprecations;
/**
* Tests the move of the 'pgsql.entity.query.sql' service.
*/
-class EntityQueryServiceDeprecation extends KernelTestBase {
+#[Group('Database')]
+#[Group('pgsql')]
+class EntityQueryServiceDeprecationTest extends KernelTestBase {
/**
* Tests that the core provided service is deprecated.
- *
- * @group legacy
*/
+ #[IgnoreDeprecations]
public function testPostgresServiceDeprecated(): void {
$running_driver = $this->container->get('database')->driver();
if ($running_driver === 'pgsql') {