From 1cda615cd298f6e22fd9a3de9dee06c97bd32aa9 Mon Sep 17 00:00:00 2001 From: Brian Perry Date: Thu, 10 Oct 2024 16:48:33 -0500 Subject: [PATCH] fix: remove Drupal 11 deprecations from module tests (#802) --- .../tests/src/Kernel/Controller/EntityResourceTest.php | 1 - .../tests/src/Kernel/Controller/NextPreviewUrlControllerTest.php | 1 - .../next/tests/src/Kernel/Entity/NextEntityTypeConfigTest.php | 1 - modules/next/tests/src/Kernel/Entity/NextSiteTest.php | 1 - modules/next/tests/src/Kernel/Event/EntityActionEventTest.php | 1 - .../next/tests/src/Kernel/Event/EntityRevalidatedEventTest.php | 1 - modules/next/tests/src/Kernel/NextEntityTypeManagerTest.php | 1 - modules/next/tests/src/Kernel/NextSettingsManagerTest.php | 1 - modules/next/tests/src/Kernel/Plugin/PathRevalidatorTest.php | 1 - .../src/Kernel/Plugin/SimpleOauthPreviewUrlGeneratorTest.php | 1 - modules/next/tests/src/Kernel/Plugin/SiteResolverTest.php | 1 - .../tests/src/Kernel/Renderer/MainContent/HtmlRendererTest.php | 1 - 12 files changed, 12 deletions(-) diff --git a/modules/next/modules/next_jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php b/modules/next/modules/next_jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php index 2540dd30c..f87938587 100644 --- a/modules/next/modules/next_jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php +++ b/modules/next/modules/next_jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php @@ -45,7 +45,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $type = NodeType::create([ diff --git a/modules/next/tests/src/Kernel/Controller/NextPreviewUrlControllerTest.php b/modules/next/tests/src/Kernel/Controller/NextPreviewUrlControllerTest.php index 46d71ad3f..cd3964cb8 100644 --- a/modules/next/tests/src/Kernel/Controller/NextPreviewUrlControllerTest.php +++ b/modules/next/tests/src/Kernel/Controller/NextPreviewUrlControllerTest.php @@ -42,7 +42,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->nextSite = NextSite::create([ diff --git a/modules/next/tests/src/Kernel/Entity/NextEntityTypeConfigTest.php b/modules/next/tests/src/Kernel/Entity/NextEntityTypeConfigTest.php index ad134adb5..62680a387 100644 --- a/modules/next/tests/src/Kernel/Entity/NextEntityTypeConfigTest.php +++ b/modules/next/tests/src/Kernel/Entity/NextEntityTypeConfigTest.php @@ -41,7 +41,6 @@ protected function setUp(): void { $this->installEntitySchema('user'); $this->installEntitySchema('path_alias'); $this->installConfig(['filter']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); } diff --git a/modules/next/tests/src/Kernel/Entity/NextSiteTest.php b/modules/next/tests/src/Kernel/Entity/NextSiteTest.php index 0481f2418..abeb96755 100644 --- a/modules/next/tests/src/Kernel/Entity/NextSiteTest.php +++ b/modules/next/tests/src/Kernel/Entity/NextSiteTest.php @@ -40,7 +40,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->nextSite = NextSite::create([ diff --git a/modules/next/tests/src/Kernel/Event/EntityActionEventTest.php b/modules/next/tests/src/Kernel/Event/EntityActionEventTest.php index 4f4e9905b..2b5cd5667 100644 --- a/modules/next/tests/src/Kernel/Event/EntityActionEventTest.php +++ b/modules/next/tests/src/Kernel/Event/EntityActionEventTest.php @@ -40,7 +40,6 @@ protected function setUp(): void { $this->installEntitySchema('user'); $this->installConfig(['filter', 'next', 'system', 'user']); $this->installSchema('dblog', ['watchdog']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->installSchema('user', ['users_data']); diff --git a/modules/next/tests/src/Kernel/Event/EntityRevalidatedEventTest.php b/modules/next/tests/src/Kernel/Event/EntityRevalidatedEventTest.php index f6c10819b..c482d796c 100644 --- a/modules/next/tests/src/Kernel/Event/EntityRevalidatedEventTest.php +++ b/modules/next/tests/src/Kernel/Event/EntityRevalidatedEventTest.php @@ -42,7 +42,6 @@ protected function setUp(): void { $this->installEntitySchema('next_entity_type_config'); $this->installConfig(['filter', 'next', 'system', 'user']); $this->installSchema('dblog', ['watchdog']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->installSchema('user', ['users_data']); diff --git a/modules/next/tests/src/Kernel/NextEntityTypeManagerTest.php b/modules/next/tests/src/Kernel/NextEntityTypeManagerTest.php index f3df8a0a0..d5107b376 100644 --- a/modules/next/tests/src/Kernel/NextEntityTypeManagerTest.php +++ b/modules/next/tests/src/Kernel/NextEntityTypeManagerTest.php @@ -32,7 +32,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); } diff --git a/modules/next/tests/src/Kernel/NextSettingsManagerTest.php b/modules/next/tests/src/Kernel/NextSettingsManagerTest.php index b1904d42a..b9be68fdb 100644 --- a/modules/next/tests/src/Kernel/NextSettingsManagerTest.php +++ b/modules/next/tests/src/Kernel/NextSettingsManagerTest.php @@ -36,7 +36,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->nextSettingsManager = $this->container->get('next.settings.manager'); diff --git a/modules/next/tests/src/Kernel/Plugin/PathRevalidatorTest.php b/modules/next/tests/src/Kernel/Plugin/PathRevalidatorTest.php index a7de97936..b8d82c84d 100644 --- a/modules/next/tests/src/Kernel/Plugin/PathRevalidatorTest.php +++ b/modules/next/tests/src/Kernel/Plugin/PathRevalidatorTest.php @@ -47,7 +47,6 @@ protected function setUp(): void { $this->installEntitySchema('user'); $this->installEntitySchema('path_alias'); $this->installConfig(['filter']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); } diff --git a/modules/next/tests/src/Kernel/Plugin/SimpleOauthPreviewUrlGeneratorTest.php b/modules/next/tests/src/Kernel/Plugin/SimpleOauthPreviewUrlGeneratorTest.php index 70be92574..0effc53a7 100644 --- a/modules/next/tests/src/Kernel/Plugin/SimpleOauthPreviewUrlGeneratorTest.php +++ b/modules/next/tests/src/Kernel/Plugin/SimpleOauthPreviewUrlGeneratorTest.php @@ -50,7 +50,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->nextSettingsManager = $this->container->get('next.settings.manager'); diff --git a/modules/next/tests/src/Kernel/Plugin/SiteResolverTest.php b/modules/next/tests/src/Kernel/Plugin/SiteResolverTest.php index 0cd090fda..3bb44472f 100644 --- a/modules/next/tests/src/Kernel/Plugin/SiteResolverTest.php +++ b/modules/next/tests/src/Kernel/Plugin/SiteResolverTest.php @@ -33,7 +33,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); // Create page type. diff --git a/modules/next/tests/src/Kernel/Renderer/MainContent/HtmlRendererTest.php b/modules/next/tests/src/Kernel/Renderer/MainContent/HtmlRendererTest.php index 7eaaacd29..31ef6543f 100644 --- a/modules/next/tests/src/Kernel/Renderer/MainContent/HtmlRendererTest.php +++ b/modules/next/tests/src/Kernel/Renderer/MainContent/HtmlRendererTest.php @@ -35,7 +35,6 @@ protected function setUp(): void { $this->installEntitySchema('node'); $this->installEntitySchema('user'); $this->installConfig(['filter', 'next', 'system', 'user']); - $this->installSchema('system', ['sequences']); $this->installSchema('node', ['node_access']); $this->installSchema('user', ['users_data']);